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 0a3801d commit ea24428Copy full SHA for ea24428
Bootstraps/Symfony.php
@@ -170,7 +170,7 @@ public function postHandle($app)
170
if ($container->has('logger')) {
171
$logger = $container->get('logger');
172
Utils::bindAndCall(function () {
173
- if ($debugLogger = $this->getDebugLogger()) {
+ if (\method_exists($this, 'getDebugLogger') && $debugLogger = $this->getDebugLogger()) {
174
//DebugLogger
175
Utils::hijackProperty($debugLogger, 'records', []);
176
}
0 commit comments