File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ PHP code will wait indefinitely until the lock is released by another process.
66
66
67
67
Be aware of the fact that the resource lock is automatically released as soon
68
68
as PHP applies the garbage-collection process to the ``LockHandler `` object.
69
- This means that if you refactor the first example showed in this article as
69
+ This means that if you refactor the first example shown in this article as
70
70
follows::
71
71
72
72
use Symfony\Component\Filesystem\LockHandler;
@@ -77,7 +77,7 @@ PHP code will wait indefinitely until the lock is released by another process.
77
77
return 0;
78
78
}
79
79
80
- Now the code won't work as expected, because PHP's garbage collection mechanism
80
+ Now the code won't work as expected because PHP's garbage collection mechanism
81
81
removes the reference to the ``LockHandler `` object and thus, the lock is released
82
82
just after it's been created.
83
83
You can’t perform that action at this time.
0 commit comments