Skip to content

Commit

Permalink
Remove symlink validity check from symlinkExists() (only check for th…
Browse files Browse the repository at this point in the history
…e symlink's existence)
  • Loading branch information
lukinovec committed Feb 26, 2025
1 parent 8229e82 commit 70eb2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/DealsWithTenantSymlinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ protected function possibleTenantSymlinks(Tenant $tenant): array
/** Determine if the provided path is an existing symlink. */
protected function symlinkExists(string $link): bool
{
return file_exists($link) && is_link($link);
return is_link($link);
}
}

0 comments on commit 70eb2bc

Please sign in to comment.