Skip to content

Commit

Permalink
Fixed the errors spotted by Wouter
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Feb 16, 2015
1 parent 89a7320 commit e632d49
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/filesystem/lock_handler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ PHP code will wait indefinitely until the lock is released by another process.

.. caution::

Beware that the resource lock is automatically released as soon as PHP applies
the garbage-collection process to the ``LockHandler`` object. This means that
if you refactor the first example showed in this article as follows:

.. code-block:: php
Be aware of the fact that the resource lock is automatically released as soon
as PHP applies the garbage-collection process to the ``LockHandler`` object.
This means that if you refactor the first example showed in this article as
follows::

use Symfony\Component\Filesystem\LockHandler;

Expand Down

0 comments on commit e632d49

Please sign in to comment.