8000 [Monolog Bridge] Fixed accessing static property as non static. · symfony/symfony@aa045d1 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa045d1

Browse files
Sander Toonenfabpot
Sander Toonen
authored andcommitted
[Monolog Bridge] Fixed accessing static property as non static.
1 parent 0bd02bc commit aa045d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function onKernelResponse(FilterResponseEvent $event)
3939
}
4040

4141
if (!preg_match(static::USER_AGENT_REGEX, $event->getRequest()->headers->get('User-Agent'))) {
42-
$this->sendHeaders = false;
42+
self::$sendHeaders = false;
4343
$this->headers = [];
4444

4545
return;
@@ -57,7 +57,7 @@ public function onKernelResponse(FilterResponseEvent $event)
5757
*/
5858
protected function sendHeader($header, $content)
5959
{
60-
if (!$this->sendHeaders) {
60+
if (!self::$sendHeaders) {
6161
return;
6262
}
6363

0 commit comments

Comments
 (0)
0