Passed
Push — 5.x ( bef106...442566 )
by Enjoys
02:41
created
src/Form.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * @param array|Closure():array $data
103 103
      * @return $this
104 104
      */
105
-    public function setDefaults(array|Closure $data): Form
105
+    public function setDefaults(array | Closure $data): Form
106 106
     {
107 107
 
108 108
         if ($this->submitted === true) {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                     'POST' => $this->getRequest()->getPostData()->toArray(),
113 113
                     default => [],
114 114
                 },
115
-                function ($k) {
115
+                function($k) {
116 116
                     return !in_array($k, [self::_TOKEN_CSRF_, self::_TOKEN_SUBMIT_]);
117 117
                 },
118 118
                 ARRAY_FILTER_USE_KEY
Please login to merge, or discard this patch.