mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix new CS
This commit is contained in:
parent
e7a9b10d0d
commit
6f1dd5b3f2
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?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;
|
namespace Notification\Email;
|
||||||
|
|
||||||
use Chill\MainBundle\Entity\Notification;
|
use Chill\MainBundle\Entity\Notification;
|
||||||
@ -16,6 +25,10 @@ use Symfony\Component\Mailer\MailerInterface;
|
|||||||
use Symfony\Component\Mime\Email;
|
use Symfony\Component\Mime\Email;
|
||||||
use Symfony\Component\Translation\Translator;
|
use Symfony\Component\Translation\Translator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
* @coversNothing
|
||||||
|
*/
|
||||||
class NotificationMailerTest extends TestCase
|
class NotificationMailerTest extends TestCase
|
||||||
{
|
{
|
||||||
use ProphecyTrait;
|
use ProphecyTrait;
|
||||||
@ -104,8 +117,7 @@ class NotificationMailerTest extends TestCase
|
|||||||
|
|
||||||
private function buildNotificationMailer(
|
private function buildNotificationMailer(
|
||||||
MailerInterface $mailer = null,
|
MailerInterface $mailer = null,
|
||||||
): NotificationMailer
|
): NotificationMailer {
|
||||||
{
|
|
||||||
return new NotificationMailer(
|
return new NotificationMailer(
|
||||||
$mailer,
|
$mailer,
|
||||||
new NullLogger(),
|
new NullLogger(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user