1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 20:27:31 +02:00

Add types back

This commit is contained in:
Jordi Boggiano
2018-06-17 15:46:29 +02:00
parent c1b610a676
commit 738decf3a3

View File

@@ -53,9 +53,8 @@ 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 * @param string $format The format of the subject
* @return FormatterInterface
*/ */
protected function getSubjectFormatter($format) protected function getSubjectFormatter(string $format): FormatterInterface
{ {
return new LineFormatter($format); return new LineFormatter($format);
} }