From d75810239a0e484f75078e6b17684aa25c4aa1a4 Mon Sep 17 00:00:00 2001 From: Weizhe Sun Date: Fri, 21 Dec 2018 15:50:56 +0800 Subject: [PATCH] Remove redundant return. --- cli/Valet/Filesystem.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/Valet/Filesystem.php b/cli/Valet/Filesystem.php index 4087c8f..27abd28 100644 --- a/cli/Valet/Filesystem.php +++ b/cli/Valet/Filesystem.php @@ -58,7 +58,7 @@ function ensureDirExists($path, $owner = null, $mode = 0755) */ function mkdirAsUser($path, $mode = 0755) { - return $this->mkdir($path, user(), $mode); + $this->mkdir($path, user(), $mode); } /** @@ -118,7 +118,7 @@ function get($path) * @param string $path * @param string $contents * @param string|null $owner - * @return string + * @return void */ function put($path, $contents, $owner = null) { @@ -134,11 +134,11 @@ function put($path, $contents, $owner = null) * * @param string $path * @param string $contents - * @return string + * @return void */ function putAsUser($path, $contents) { - return $this->put($path, $contents, user()); + $this->put($path, $contents, user()); } /**