Skip to content

Commit d5024c2

Browse files
committed
static
1 parent 3c84de0 commit d5024c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Testing/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function createApplication()
2929
{
3030
$app = require Application::inferBasePath().'/bootstrap/app.php';
3131

32-
if (isset(CachedState::$cachedRoutes) && in_array(WithCachedRoutes::class, class_uses_recursive(self::class))) {
32+
if (isset(CachedState::$cachedRoutes) && in_array(WithCachedRoutes::class, class_uses_recursive(static::class))) {
3333
$app->booting(fn () => $this->markRoutesCached($app));
3434
}
3535

0 commit comments

Comments
 (0)