Skip to content
Permalink
Browse files

Fix phpcs errors.

  • Loading branch information...
markstory committed Nov 18, 2016
1 parent 5ff002e commit a7cf1736a4d0866c24101c48cc41f86474e04325
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/Network/Response.php
  2. +1 −1 tests/TestCase/Network/ResponseTest.php
@@ -1025,9 +1025,9 @@ public function type($contentType = null)
if (strpos($contentType, '/') === false) {
return false;
}
$this->_contentType = $contentType;
$this->_setContentType();
return $contentType;
}
@@ -1121,9 +1121,9 @@ public function charset($charset = null)
if ($charset === null) {
return $this->_charset;
}
$this->_charset = $charset;
$this->_setContentType();
return $this->_charset;
}
@@ -712,7 +712,7 @@ public function testModified()
$time = new \DateTime('+1 day', new \DateTimeZone('UTC'));
$response->modified('+1 day');
$this->assertEquals($time->format($format) . ' GMT', $response->modified());
$this->assertEquals($time->format($format). ' GMT', $response->getHeaderLine('Last-Modified'));
$this->assertEquals($time->format($format) . ' GMT', $response->getHeaderLine('Last-Modified'));
}
/**

0 comments on commit a7cf173

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