Skip to content

Commit 4e3795e

Browse files
minor #27089 [Lock][PhpDoc] There is no attempt to create the directory (corphi)
This PR was merged into the 3.4 branch. Discussion ---------- [Lock][PhpDoc] There is no attempt to create the directory | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - When the lock component [was](#21093) [created](#22597), the `FlockStore` implementation was copied from the filesystem component. But the dependency to its origin was dropped, and as part of that, the attempt to create the parent directory for the locks. The PhpDoc wasn’t updated to reflect this change. Commits ------- 93a9bd3 PhpDoc: There is no attempt to create the directory
2 parents 45fd7f8 + 93a9bd3 commit 4e3795e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Lock/Store/FlockStore.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FlockStore implements StoreInterface
3434
/**
3535
* @param string|null $lockPath the directory to store the lock, defaults to the system's temporary directory
3636
*
37-
* @throws LockStorageException If the lock directory could not be created or is not writable
37+
* @throws LockStorageException If the lock directory doesn’t exist or is not writable
3838
*/
3939
public function __construct($lockPath = null)
4040
{

0 commit comments

Comments
 (0)