diff --git a/src/Illuminate/Filesystem/Filesystem.php b/src/Illuminate/Filesystem/Filesystem.php index 3af2b33303f1..4caac161596b 100644 --- a/src/Illuminate/Filesystem/Filesystem.php +++ b/src/Illuminate/Filesystem/Filesystem.php @@ -35,7 +35,7 @@ public function exists($path) public function get($path, $lock = false) { if ($this->isFile($path)) { - return $lock ? $this->sharedGet($path, $lock) : file_get_contents($path); + return $lock ? $this->sharedGet($path) : file_get_contents($path); } throw new FileNotFoundException("File does not exist at path {$path}");