From 738decf3a32f5ce1a602fd3eaa5d93d1cd248773 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 17 Jun 2018 15:46:29 +0200 Subject: [PATCH] Add types back --- src/Monolog/Handler/SwiftMailerHandler.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Monolog/Handler/SwiftMailerHandler.php b/src/Monolog/Handler/SwiftMailerHandler.php index 6f84dd32..73ef3cfc 100644 --- a/src/Monolog/Handler/SwiftMailerHandler.php +++ b/src/Monolog/Handler/SwiftMailerHandler.php @@ -52,10 +52,9 @@ class SwiftMailerHandler extends MailHandler /** * Gets the formatter for the Swift_Message subject. * - * @param string $format The format of the subject - * @return FormatterInterface + * @param string $format The format of the subject */ - protected function getSubjectFormatter($format) + protected function getSubjectFormatter(string $format): FormatterInterface { return new LineFormatter($format); }