diff --git a/Listener/Notifier.php b/Listener/Notifier.php index 2150381..6021f32 100644 --- a/Listener/Notifier.php +++ b/Listener/Notifier.php @@ -76,7 +76,7 @@ public function onKernelException(GetResponseForExceptionEvent $event) $this->createMailAndSend($exception, $event->getRequest()); } } else { - $sendMail = (!in_array(get_class($exception), $this->ignoredClasses)); + $sendMail = !in_array(get_class($exception), $this->ignoredClasses); if ($sendMail === true) { $this->createMailAndSend($exception, $event->getRequest());