[Monolog Bridge] Fixed accessing static property as non static.
This commit is contained in:
parent
0bd02bc743
commit
aa045d10b9
@ -39,7 +39,7 @@ class ChromePhpHandler extends BaseChromePhpHandler
|
||||
}
|
||||
|
||||
if (!preg_match(static::USER_AGENT_REGEX, $event->getRequest()->headers->get('User-Agent'))) {
|
||||
$this->sendHeaders = false;
|
||||
self::$sendHeaders = false;
|
||||
$this->headers = [];
|
||||
|
||||
return;
|
||||
@ -57,7 +57,7 @@ class ChromePhpHandler extends BaseChromePhpHandler
|
||||
*/
|
||||
protected function sendHeader($header, $content)
|
||||
{
|
||||
if (!$this->sendHeaders) {
|
||||
if (!self::$sendHeaders) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user