Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function getLastRawResponse()
/**
* Get the redirections count
*
* @return integer
* @return int
*/
public function getRedirectionsCount()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Adapter/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function write($method, $uri, $httpVer = '1.1', $headers = array(), $body
* Preform handshaking with HTTPS proxy using CONNECT method
*
* @param string $host
* @param integer $port
* @param int $port
* @param string $httpVer
* @param array $headers
* @throws AdapterException\RuntimeException
Expand Down
4 changes: 2 additions & 2 deletions src/Client/Adapter/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Test implements AdapterInterface
/**
* Current position in the response buffer
*
* @var integer
* @var int
*/
protected $responseIndex = 0;

Expand Down Expand Up @@ -199,7 +199,7 @@ public function addResponse($response)
* Sets the position of the response buffer. Selects which
* response will be returned on the next call to read().
*
* @param integer $index
* @param int $index
* @throws Exception\OutOfRangeException
*/
public function setResponseIndex($index)
Expand Down
2 changes: 1 addition & 1 deletion src/Header/AbstractAccept.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ protected function sortFieldValueParts()
}

// Asterisks
$values = array('type', 'subtype','format');
$values = array('type', 'subtype', 'format');
foreach ($values as $value) {
if ($a->$value == '*' && $b->$value != '*') {
return 1;
Expand Down
12 changes: 6 additions & 6 deletions src/Header/SetCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ class SetCookie implements MultipleHeaderInterface
/**
* Version
*
* @var integer
* @var int
*/
protected $version = null;

/**
* Max Age
*
* @var integer
* @var int
*/
protected $maxAge = null;

Expand Down Expand Up @@ -317,7 +317,7 @@ public function getValue()
/**
* Set version
*
* @param integer $version
* @param int $version
* @throws Exception\InvalidArgumentException
*/
public function setVersion($version)
Expand All @@ -331,7 +331,7 @@ public function setVersion($version)
/**
* Get version
*
* @return integer
* @return int
*/
public function getVersion()
{
Expand All @@ -341,7 +341,7 @@ public function getVersion()
/**
* Set Max-Age
*
* @param integer $maxAge
* @param int $maxAge
* @throws Exception\InvalidArgumentException
*/
public function setMaxAge($maxAge)
Expand All @@ -355,7 +355,7 @@ public function setMaxAge($maxAge)
/**
* Get Max-Age
*
* @return integer
* @return int
*/
public function getMaxAge()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function getCookie()
/**
* Set HTTP status code and (optionally) message
*
* @param integer $code
* @param int $code
* @throws Exception\InvalidArgumentException
* @return Response
*/
Expand Down

0 comments on commit d240054

Please sign in to comment.