@@ -162,7 +162,7 @@ |
||
| 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(' '); |
@@ -217,7 +217,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |