Completed
Push — master ( d189a7...ddd4f5 )
by Timur
07:10
created
src/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     public function extraAttributes(array $attributes = [])
163 163
     {
164 164
         return collect($this->onlyExtraAttributes($attributes))
165
-            ->map(function (string $value, string $attribute) {
165
+            ->map(function(string $value, string $attribute) {
166 166
                 return $attribute.'="'.$value.'"';
167 167
             })
168 168
             ->implode(' ');
Please login to merge, or discard this patch.
src/FormField.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     public function joinAttributes()
218 218
     {
219 219
         return collect($this->attributes())
220
-            ->map(function (string $value, string $attribute) {
220
+            ->map(function(string $value, string $attribute) {
221 221
                 return $attribute.'="'.$value.'"';
222 222
             })
223 223
             ->implode(' ');
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
             $classes = explode(' ', $classes);
350 350
         }
351 351
 
352
-        $classes = array_filter($classes, function ($value) {
352
+        $classes = array_filter($classes, function($value) {
353 353
             return is_string($value) && trim($value);
354 354
         });
355 355
 
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
             return [];
358 358
         }
359 359
 
360
-        return array_map(function (string $class) {
360
+        return array_map(function(string $class) {
361 361
             return trim($class);
362 362
         }, $classes);
363 363
     }
Please login to merge, or discard this patch.