Completed
Push — master ( 215c9d...e1bcd2 )
by Beñat
07:37 queued 03:14
created
BenGorUser/TwigBridge/Infrastructure/Mailing/TwigUserMailableFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
TwigBridge/Infrastructure/Mailing/TwigUserMailableFactorySpec.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.