diff --git a/components/lock.rst b/components/lock.rst index 865471f0fe5..c5b80d669ca 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -220,7 +220,7 @@ FlockStore The FlockStore uses the file system on the local computer to create the locks. It does not support expiration, but the lock is automatically released when the -PHP process is terminated:: +lock object goes out of scope and is freed by the garbage collector:: use Symfony\Component\Lock\Store\FlockStore;