Revert "package update 재도전"

This reverts commit 595ab6d7e5675490afea91d5367b24c76d05fbe8.
This commit is contained in:
2020-01-28 00:31:53 +09:00
parent f6e53746b2
commit 19be0c4560
419 changed files with 16269 additions and 14006 deletions
+4 -6
View File
@@ -19,8 +19,6 @@ use Psr\Log\NullLogger;
* Factory provides method to create locks.
*
* @author Jérémy Derussé <jeremy@derusse.com>
*
* @deprecated "Symfony\Component\Lock\Factory" is deprecated since Symfony 4.4 and will be removed in 5.0 use "Symfony\Component\Lock\LockFactory" instead
*/
class Factory implements LoggerAwareInterface
{
@@ -28,7 +26,7 @@ class Factory implements LoggerAwareInterface
private $store;
public function __construct(PersistingStoreInterface $store)
public function __construct(StoreInterface $store)
{
$this->store = $store;
@@ -38,9 +36,9 @@ class Factory implements LoggerAwareInterface
/**
* Creates a lock for the given resource.
*
* @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
* @param string $resource The resource to lock
* @param float $ttl Maximum expected lock duration in seconds
* @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed
*
* @return Lock
*/