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.
2 parents d0e8026 + c1e2982 commit 440e41fCopy full SHA for 440e41f
src/Application.php
@@ -48,12 +48,8 @@ public function bootstrap(): void
48
// Call parent to load bootstrap from files.
49
parent::bootstrap();
50
51
- if (PHP_SAPI !== 'cli') {
52
- FactoryLocator::add(
53
- 'Table',
54
- (new TableLocator())->allowFallbackClass(false),
55
- );
56
- }
+ // By default, does not allow fallback classes.
+ FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(false));
57
}
58
59
/**
0 commit comments