chore: code style

This commit is contained in:
Nuno Maduro
2023-03-05 01:48:07 +00:00
parent 99c7bb705e
commit 730bc7d3b3

View File

@ -66,10 +66,12 @@ final class BootFiles implements Bootstrapper
*/ */
private function load(string $filename): void private function load(string $filename): void
{ {
if (! Str::endsWith($filename, '.php') || ! file_exists($filename)) { if (! Str::endsWith($filename, '.php')) {
return;
}
if (! file_exists($filename)) {
return; return;
} }
include_once $filename; include_once $filename;
} }