mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Remove redundant return.
This commit is contained in:
committed by
Matt Stauffer
parent
fb63a3c855
commit
d75810239a
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user