We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c84de0 commit d5024c2Copy full SHA for d5024c2
src/Illuminate/Foundation/Testing/TestCase.php
@@ -29,7 +29,7 @@ public function createApplication()
29
{
30
$app = require Application::inferBasePath().'/bootstrap/app.php';
31
32
- if (isset(CachedState::$cachedRoutes) && in_array(WithCachedRoutes::class, class_uses_recursive(self::class))) {
+ if (isset(CachedState::$cachedRoutes) && in_array(WithCachedRoutes::class, class_uses_recursive(static::class))) {
33
$app->booting(fn () => $this->markRoutesCached($app));
34
}
35
0 commit comments