Completed
Push — master ( b87c3d...fa1d47 )
by Vladimir
08:07
created
src/Drivers/TemplateCompiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Drivers;
6 6
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         // If template can compile itself we recursively compile subelements
68 68
         if ($template instanceof Arrayable) {
69 69
             $array = $template->toArray();
70
-            $transformer = function ($value) use (&$transformer, $args) {
70
+            $transformer = function($value) use (&$transformer, $args) {
71 71
                 if (is_array($value)) {
72 72
                     return array_map($transformer, $value);
73 73
                 }
Please login to merge, or discard this patch.
src/Drivers/Type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Drivers;
6 6
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return array
40 40
      */
41
-    public function toArray(): ?array
41
+    public function toArray(): ? array
42 42
     {
43 43
         $normalizer = new ObjectNormalizer(null, new CamelCaseToSnakeCaseNameConverter);
44 44
         $serializer = new Serializer([$normalizer]);
Please login to merge, or discard this patch.