1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

Remove redundant return.

This commit is contained in:
Weizhe Sun
2018-12-21 15:50:56 +08:00
committed by Matt Stauffer
parent fb63a3c855
commit d75810239a

View File

@@ -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());
}
/**