1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 12:17:35 +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

@@ -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);
}