1
0
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:
StyleCI Bot
2023-02-08 03:00:12 +00:00
parent 15cf3fefaf
commit 21587b7f07
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ public function fixOldSampleValetDriver(): void
warning('Backing up at '.$samplePath.'.bak'); warning('Backing up at '.$samplePath.'.bak');
$this->files->putAsUser( $this->files->putAsUser(
VALET_HOME_PATH . '/Drivers/SampleValetDriver.php.bak', VALET_HOME_PATH.'/Drivers/SampleValetDriver.php.bak',
$contents $contents
); );
} }

View File

@@ -29,7 +29,7 @@ public function serves($sitePath, $siteName, $uri)
*/ */
public function isStaticFile($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; return $staticFilePath;
} }
@@ -46,6 +46,6 @@ public function isStaticFile($sitePath, $siteName, $uri)
*/ */
public function frontControllerPath($sitePath, $siteName, $uri) public function frontControllerPath($sitePath, $siteName, $uri)
{ {
return $sitePath . '/public/index.php'; return $sitePath.'/public/index.php';
} }
} }