Skip to content
Permalink
Browse files

Fix PHPCS errors.

  • Loading branch information...
markstory committed May 8, 2016
1 parent 1bf62e0 commit 66b59c2fc64db73bf343694e53b8c432d2866566
Showing with 3 additions and 2 deletions.
  1. +2 −1 src/Http/Client/Adapter/Stream.php
  2. +1 −1 src/Http/Client/Request.php
@@ -173,7 +173,8 @@ protected function _buildContent(Request $request, $options)
{
$body = $request->getBody();
if (empty($body)) {
return $this->_contextOptions['content'] = '';
$this->_contextOptions['content'] = '';
return;
}
$body->rewind();
$this->_contextOptions['content'] = $body->getContents();
@@ -16,8 +16,8 @@
use Cake\Core\Exception\Exception;
use Psr\Http\Message\RequestInterface;
use Zend\Diactoros\MessageTrait;
use Zend\Diactoros\Stream;
use Zend\Diactoros\RequestTrait;
use Zend\Diactoros\Stream;
/**
* Implements methods for HTTP requests.

0 comments on commit 66b59c2

Please sign in to comment.
You can’t perform that action at this time.