@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * {@inheritdoc} |
64 | 64 | */ |
65 | - public function build($to, array $parameters = []) |
|
65 | + public function build($to, array $parameters = [ ]) |
|
66 | 66 | { |
67 | 67 | $template = $this->twig->loadTemplate($this->view); |
68 | 68 | $subject = $template->renderBlock('subject', $parameters); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | function let() |
31 | 31 | { |
32 | 32 | $loader = new \Twig_Loader_Filesystem( |
33 | - __DIR__ . '/../../../../../src/BenGorUser/TwigBridge/Infrastructure/Ui/Twig/views' |
|
33 | + __DIR__.'/../../../../../src/BenGorUser/TwigBridge/Infrastructure/Ui/Twig/views' |
|
34 | 34 | ); |
35 | 35 | $twig = new \Twig_Environment($loader); |
36 | 36 | $twig->addExtension(new TranslationExtension( |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | { |
55 | 55 | $to = new UserEmail('[email protected]'); |
56 | 56 | |
57 | - $this->build($to, [])->shouldReturnAnInstanceOf(UserMailable::class); |
|
57 | + $this->build($to, [ ])->shouldReturnAnInstanceOf(UserMailable::class); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | function it_builds_with_multiples_receivers() |
@@ -65,6 +65,6 @@ discard block |
||
65 | 65 | new UserEmail('[email protected]'), |
66 | 66 | ]; |
67 | 67 | |
68 | - $this->build($to, [])->shouldReturnAnInstanceOf(UserMailable::class); |
|
68 | + $this->build($to, [ ])->shouldReturnAnInstanceOf(UserMailable::class); |
|
69 | 69 | } |
70 | 70 | } |