Skip to content

Commit 795cf92

Browse files
tweaks
1 parent 22d2bb9 commit 795cf92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/E2E/_fixtures/autoload/autoload.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
spl_autoload_register(function ($class) {
4+
spl_autoload_register(function ($class): void {
55
$classmap = [
66
'Autoload\Services\UserService' => __DIR__.'/src/Service/UserService.php',
77
'Autoload\Model\User' => __DIR__.'/src/Model/User.php',
@@ -18,5 +18,5 @@
1818
return;
1919
}
2020

21-
return require $path;
21+
require_once $path;
2222
});

0 commit comments

Comments
 (0)