1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00

Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2022-12-22 00:54:25 +00:00
parent 20f48f6eab
commit 486fb9b339
5 changed files with 8 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ public static function showDirectoryListing(string $valetSitePath, string $uri)
// Output the HTML for the directory listing
echo "<h1>Index of $uri</h1>";
echo '<hr>';
echo implode("<br>".PHP_EOL, array_map(function ($path) use ($uri, $is_root) {
echo implode('<br>'.PHP_EOL, array_map(function ($path) use ($uri, $is_root) {
$file = basename($path);
return ($is_root) ? "<a href='/$file'>/$file</a>" : "<a href='$uri/$file'>$uri/$file/</a>";