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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user