1
0
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:
driesvints
2023-09-05 15:50:18 +00:00
committed by github-actions[bot]
parent 92c135e2dd
commit f37a474700
4 changed files with 9 additions and 9 deletions

View File

@@ -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;
}
}