Fix new CS

This commit is contained in:
Julien Fastré 2023-09-06 16:18:28 +02:00 committed by Julie Lenaerts
parent e7a9b10d0d
commit 6f1dd5b3f2
5 changed files with 25 additions and 13 deletions

View File

@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Notification\Email;
use Chill\MainBundle\Entity\Notification;
@ -16,6 +25,10 @@ use Symfony\Component\Mailer\MailerInterface;
use Symfony\Component\Mime\Email;
use Symfony\Component\Translation\Translator;
/**
* @internal
* @coversNothing
*/
class NotificationMailerTest extends TestCase
{
use ProphecyTrait;
@ -104,8 +117,7 @@ class NotificationMailerTest extends TestCase
private function buildNotificationMailer(
MailerInterface $mailer = null,
): NotificationMailer
{
): NotificationMailer {
return new NotificationMailer(
$mailer,
new NullLogger(),