mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Fix code styling
This commit is contained in:
committed by
github-actions[bot]
parent
92c135e2dd
commit
f37a474700
@@ -52,7 +52,7 @@ private function getLinkNameByCurrentDir(): ?string
|
||||
public function host(string $path): ?string
|
||||
{
|
||||
foreach ($this->files->scandir($this->sitesPath()) as $link) {
|
||||
if (realpath($this->sitesPath($link)) === $path) {
|
||||
if ($path === realpath($this->sitesPath($link))) {
|
||||
return $link;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user