Skip to content

Commit

Permalink
fixes CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 24, 2015
1 parent 38c326b commit 55d5b81
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions BinaryFileResponse.php
Expand Up @@ -308,6 +308,7 @@ public static function trustXSendfileTypeHeader()
/**
* If this is set to true, the file will be unlinked after the request is send
* Note: If the X-Sendfile header is used, the deleteFileAfterSend setting will not be used.
*
* @param bool $shouldDelete
*
* @return BinaryFileResponse
Expand Down
2 changes: 1 addition & 1 deletion Request.php
Expand Up @@ -2001,7 +2001,7 @@ private static function createRequestFromFactory(array $query = array(), array $
if (self::$requestFactory) {
$request = call_user_func(self::$requestFactory, $query, $request, $attributes, $cookies, $files, $server, $content);

if (!$request instanceof Request) {
if (!$request instanceof self) {
throw new \LogicException('The Request factory must return an instance of Symfony\Component\HttpFoundation\Request.');
}

Expand Down
2 changes: 1 addition & 1 deletion Session/Storage/Handler/LegacyPdoSessionHandler.php
Expand Up @@ -260,7 +260,7 @@ private function getMergeSql()
}

/**
* Return a PDO instance
* Return a PDO instance.
*
* @return \PDO
*/
Expand Down
2 changes: 1 addition & 1 deletion Session/Storage/Handler/MemcacheSessionHandler.php
Expand Up @@ -108,7 +108,7 @@ public function gc($maxlifetime)
}

/**
* Return a Memcache instance
* Return a Memcache instance.
*
* @return \Memcache
*/
Expand Down
2 changes: 1 addition & 1 deletion Session/Storage/Handler/MemcachedSessionHandler.php
Expand Up @@ -114,7 +114,7 @@ public function gc($maxlifetime)
}

/**
* Return a Memcached instance
* Return a Memcached instance.
*
* @return \Memcached
*/
Expand Down
2 changes: 1 addition & 1 deletion Session/Storage/Handler/MongoDbSessionHandler.php
Expand Up @@ -177,7 +177,7 @@ private function getCollection()
}

/**
* Return a Mongo instance
* Return a Mongo instance.
*
* @return \Mongo
*/
Expand Down
2 changes: 1 addition & 1 deletion StreamedResponse.php
Expand Up @@ -51,7 +51,7 @@ public function __construct($callback = null, $status = 200, $headers = array())
}

/**
* Factory method for chainability
* Factory method for chainability.
*
* @param callable|null $callback A valid PHP callback or null to set it later
* @param int $status The response status code
Expand Down
2 changes: 1 addition & 1 deletion Tests/Session/Storage/Handler/PdoSessionHandlerTest.php
Expand Up @@ -205,7 +205,7 @@ public function testReadingRequiresExactlySameId()
}

/**
* Simulates session_regenerate_id(true) which will require an INSERT or UPDATE (replace)
* Simulates session_regenerate_id(true) which will require an INSERT or UPDATE (replace).
*/
public function testWriteDifferentSessionIdThanRead()
{
Expand Down

0 comments on commit 55d5b81

Please sign in to comment.