Passed
Push — master ( edc575...08ade3 )
by Bruno
07:00
created
util/makeKitchenSink.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
         'myString' => [
53 53
             'datatype' => 'string',
54 54
             'validators' => [
55
-                MinLength::class => [ 'value' => 3],
56
-                MaxLength::class => [ 'value' => 30],
55
+                MinLength::class => ['value' => 3],
56
+                MaxLength::class => ['value' => 30],
57 57
             ],
58 58
             'renderable' => [
59 59
                 Renderable::LABEL => 'Type string',
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
         'myInteger' => [
68 68
             'datatype' => 'integer',
69 69
             'validators' => [
70
-                Min::class => [ 'value' => 4],
71
-                Max::class => [ 'value' => 40],
70
+                Min::class => ['value' => 4],
71
+                Max::class => ['value' => 40],
72 72
             ],
73 73
             'renderable' => [
74 74
                 Renderable_number::STEP => 2,
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         'Table',
106 106
         [
107 107
             Table::ROW_NAMES => ['First', 'Second', 'Third'],
108
-            Table::ROW_DATA => [ ['a', 'b', 'c'], [ 'd', 'e', 'f'] ],
108
+            Table::ROW_DATA => [['a', 'b', 'c'], ['d', 'e', 'f']],
109 109
             Table::STRIPED => true
110 110
         ]
111 111
     );
Please login to merge, or discard this patch.
Formularium/Frontend/HTML/Element/Table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                         'class' => 'formularium-table__td'
47 47
                     ],
48 48
                     array_map(
49
-                        function ($i) {
49
+                        function($i) {
50 50
                             return HTMLNode::factory('td', [], $i);
51 51
                         },
52 52
                         $data
Please login to merge, or discard this patch.