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 3bd5fae

Browse filesBrowse files
committed
bug #34533 [Monolog Bridge] Fixed accessing static property as non static. (Sander-Toonen)
This PR was submitted for the 4.4 branch but it was merged into the 3.4 branch instead (closes #34533). Discussion ---------- [Monolog Bridge] Fixed accessing static property as non static. | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34505 | License | MIT | Doc PR | N/A Commits ------- aa045d1 [Monolog Bridge] Fixed accessing static property as non static.
2 parents 0bd02bc + aa045d1 commit 3bd5fae
Copy full SHA for 3bd5fae

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.