Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa045d1

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

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.