From 9013866b747f0d8446be899651bc10e9a30c8cae Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Thu, 16 Jul 2015 12:31:02 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/CacheMiddleware.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CacheMiddleware.php b/src/CacheMiddleware.php index dd751ed2..ae374ab9 100644 --- a/src/CacheMiddleware.php +++ b/src/CacheMiddleware.php @@ -172,7 +172,7 @@ protected static function getRequestWithReValidationHeader(RequestInterface $req */ protected static function addReValidationRequest( RequestInterface $request, - CacheStorageInterface &$cacheStorage, + CacheStorageInterface & $cacheStorage, CacheEntry $cacheEntry ) { // Add the promise for revalidate @@ -181,7 +181,7 @@ protected static function addReValidationRequest( $request = $request->withHeader("X-ReValidation", "1"); static::$waitingRevalidate[] = static::$client ->sendAsync($request) - ->then(function (ResponseInterface $response) use ($request, &$cacheStorage, $cacheEntry) { + ->then(function(ResponseInterface $response) use ($request, &$cacheStorage, $cacheEntry) { if ($response->getStatusCode() == 304) { // Not modified => cache entry is re-validate /** @var ResponseInterface $response */