Passed
Push — master ( 0c3780...33a1b2 )
by Bruno
13:23
created
Formularium/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     public function serialize(): array
308 308
     {
309 309
         $fields = array_map(
310
-            function (Field $f) {
310
+            function(Field $f) {
311 311
                 return [
312 312
                     'datatype' => $f->getDatatype()->getName(),
313 313
                     'validators' => $f->getValidators(),
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
         }
364 364
         $renderables = $this->getRenderables();
365 365
         $r = array_map(
366
-            function ($name, $value) {
366
+            function($name, $value) {
367 367
                 $v = $value;
368 368
                 if (is_string($value)) {
369 369
                     $v = '"' . str_replace('"', '\\"', $value) . '"';
Please login to merge, or discard this patch.
Formularium/ExtradataTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
     public function getExtradataSerialize(): array
31 31
     {
32 32
         return array_map(
33
-            function (Extradata $e) {
33
+            function(Extradata $e) {
34 34
                 return [
35 35
                     'name' => $e->getName(),
36 36
                     'args' => array_map(
37
-                        function (ExtradataParameter $a) {
37
+                        function(ExtradataParameter $a) {
38 38
                             return [
39 39
                                 'name' => $a->name,
40 40
                                 'value' => $a->value
Please login to merge, or discard this patch.
Formularium/Datatype.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             $this->getDocumentation() .
134 134
                 "\n\nRandom value example: " . var_export($this->getRandom(), true) .
135 135
                 "\n\nSQL datatype: `" . $this->getSQLType() . "`" .
136
-                "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name')  . "`",
136
+                "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`",
137 137
             []
138 138
         );
139 139
     }
Please login to merge, or discard this patch.