From 4a1429e573415eb95e2d5962e1e40bd09fc1866b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20F=C3=B6der?= Date: Mon, 19 Oct 2015 12:25:21 +0200 Subject: [PATCH] [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. --- src/Monolog/Handler/GelfHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monolog/Handler/GelfHandler.php b/src/Monolog/Handler/GelfHandler.php index 28c7b55f..843b32dd 100644 --- a/src/Monolog/Handler/GelfHandler.php +++ b/src/Monolog/Handler/GelfHandler.php @@ -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;