Skip to content

Commit 05b7b76

Browse files
authored
[FS\FileSystem] - remove parameters duplication in use (PHP 7.1 compatibility) (#270)
1 parent 7a69f0b commit 05b7b76

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
@@ -532,7 +532,7 @@ public static function readfile($path, $cb, $pri = EIO_PRI_DEFAULT)
532532
$cb($path, file_get_contents($path));
533533
return true;
534534
}
535-
return FileSystem::open($path, 'r!', function ($file) use ($path, $cb, $pri, $path) {
535+
return FileSystem::open($path, 'r!', function ($file) use ($path, $cb, $pri) {
536536
if (!$file) {
537537
$cb($path, false);
538538
return;

0 commit comments

Comments
 (0)