mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: code style
This commit is contained in:
@ -66,10 +66,12 @@ final class BootFiles implements Bootstrapper
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
include_once $filename;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user