We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155fab6 commit b662e7eCopy full SHA for b662e7e
src/Symfony/Component/Lock/Factory.php
@@ -36,9 +36,9 @@ public function __construct(StoreInterface $store)
36
/**
37
* Creates a lock for the given resource.
38
*
39
- * @param string $resource The resource to lock
40
- * @param float $ttl Maximum expected lock duration in seconds
41
- * @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed
+ * @param string $resource The resource to lock
+ * @param float|null $ttl Maximum expected lock duration in seconds
+ * @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed
42
43
* @return Lock
44
*/
0 commit comments