mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 05:36:45 +02:00
[TASK] CGL fix
This replaces a double-quote occurrence with a single-quote one to comply with the CGL as well as fixing an escaping mistake.
This commit is contained in:
@@ -41,7 +41,7 @@ class GelfHandler extends AbstractProcessingHandler
|
||||
parent::__construct($level, $bubble);
|
||||
|
||||
if (!$publisher instanceof Publisher && !$publisher instanceof IMessagePublisher && !$publisher instanceof PublisherInterface) {
|
||||
throw new InvalidArgumentException("Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance");
|
||||
throw new InvalidArgumentException('Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance');
|
||||
}
|
||||
|
||||
$this->publisher = $publisher;
|
||||
|
Reference in New Issue
Block a user