Skip to content

Commit 8a155e1

Browse files
committed
Backport to 0.9 (#270) [FS\FileSystem] - remove parameters duplication in use
1 parent 02259a2 commit 8a155e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHPDaemon/FS/FileSystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public static function readfile($path, $cb, $pri = EIO_PRI_DEFAULT) {
476476
call_user_func($cb, $path, file_get_contents($path));
477477
return true;
478478
}
479-
return FileSystem::open($path, 'r!', function ($file) use ($path, $cb, $pri, $path) {
479+
return FileSystem::open($path, 'r!', function ($file) use ($path, $cb, $pri) {
480480
if (!$file) {
481481
call_user_func($cb, $path, false);
482482
return;

0 commit comments

Comments
 (0)