@@ -75,6 +75,9 @@ discard block |
||
75 | 75 | */ |
76 | 76 | private $configurationCache = []; |
77 | 77 | |
78 | + /** |
|
79 | + * @param string $configsPath |
|
80 | + */ |
|
78 | 81 | public function __construct(EventDispatcherInterface $dispatcher, Cache $metadataCache, $configsPath = null) |
79 | 82 | { |
80 | 83 | $this->metadataCache = $metadataCache; |
@@ -175,6 +178,9 @@ discard block |
||
175 | 178 | return new Meta($this, $value, $this->getConfigurationForValue($value)); |
176 | 179 | } |
177 | 180 | |
181 | + /** |
|
182 | + * @return boolean |
|
183 | + */ |
|
178 | 184 | public function isSupported($value) |
179 | 185 | { |
180 | 186 | if (!is_object($value)) { |
@@ -312,7 +318,7 @@ discard block |
||
312 | 318 | } |
313 | 319 | |
314 | 320 | /** |
315 | - * @param array $keys |
|
321 | + * @param string[] $keys |
|
316 | 322 | * |
317 | 323 | * @return string |
318 | 324 | */ |
@@ -344,7 +350,7 @@ discard block |
||
344 | 350 | /** |
345 | 351 | * @param string $id |
346 | 352 | * |
347 | - * @return null|true |
|
353 | + * @return null|boolean |
|
348 | 354 | */ |
349 | 355 | public function restoreTemporaryUnset($id) |
350 | 356 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | |
182 | 182 | public function retryDecider() |
183 | 183 | { |
184 | - return function ( |
|
184 | + return function( |
|
185 | 185 | $retries, |
186 | 186 | Request $request, |
187 | 187 | Response $response = null, |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | |
217 | 217 | public function retryDelay() |
218 | 218 | { |
219 | - return function ($numberOfRetries): int { |
|
219 | + return function($numberOfRetries): int { |
|
220 | 220 | return 1000 * $numberOfRetries; |
221 | 221 | }; |
222 | 222 | } |