Selaa lähdekoodia

Add types back

Jordi Boggiano 7 vuotta sitten
vanhempi
commit
738decf3a3
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      src/Monolog/Handler/SwiftMailerHandler.php

+ 2 - 3
src/Monolog/Handler/SwiftMailerHandler.php

@@ -52,10 +52,9 @@ class SwiftMailerHandler extends MailHandler
     /**
     /**
      * Gets the formatter for the Swift_Message subject.
      * 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);
         return new LineFormatter($format);
     }
     }