Skip to content

Commit abf422c

Browse files
committed
Merge pull request #6 from aztech-digital/scrutinizer-patch-2
Scrutinizer Auto-Fixes
2 parents f8047b6 + b70d268 commit abf422c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/File/FileLock.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ class FileLock
99

1010
private $handle;
1111

12+
/**
13+
* @param resource $file
14+
*/
1215
public function __construct($file)
1316
{
1417
if (is_string($file)) {
@@ -36,7 +39,6 @@ public function __destruct()
3639
*
3740
* @todo Loop until lock is avail, within timeout
3841
* @param callable $callback
39-
* @param mixed $args,...
4042
* @return mixed|false
4143
*/
4244
public function invokeEx(callable $callback)

0 commit comments

Comments
 (0)