mirror of
https://github.com/laravel/valet.git
synced 2026-02-08 01:10:08 +01:00
Apply fixes from StyleCI
This commit is contained in:
@@ -60,7 +60,7 @@ public function fixOldSampleValetDriver(): void
|
||||
warning('Backing up at '.$samplePath.'.bak');
|
||||
|
||||
$this->files->putAsUser(
|
||||
VALET_HOME_PATH . '/Drivers/SampleValetDriver.php.bak',
|
||||
VALET_HOME_PATH.'/Drivers/SampleValetDriver.php.bak',
|
||||
$contents
|
||||
);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ public function serves($sitePath, $siteName, $uri)
|
||||
*/
|
||||
public function isStaticFile($sitePath, $siteName, $uri)
|
||||
{
|
||||
if (file_exists($staticFilePath = $sitePath . '/public/' . $uri)) {
|
||||
if (file_exists($staticFilePath = $sitePath.'/public/'.$uri)) {
|
||||
return $staticFilePath;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,6 @@ public function isStaticFile($sitePath, $siteName, $uri)
|
||||
*/
|
||||
public function frontControllerPath($sitePath, $siteName, $uri)
|
||||
{
|
||||
return $sitePath . '/public/index.php';
|
||||
return $sitePath.'/public/index.php';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user