@@ -184,7 +184,7 @@ |
||
184 | 184 | $attributes = array_merge($attributes, $this->attributes); |
185 | 185 | } |
186 | 186 | |
187 | - $attributes = collect($attributes)->map(function ($attribute, $name) { |
|
187 | + $attributes = collect($attributes)->map(function($attribute, $name) { |
|
188 | 188 | return "$name='$attribute'"; |
189 | 189 | })->implode(' '); |
190 | 190 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @param string $column |
58 | 58 | * @param string $label |
59 | 59 | * @param array $options |
60 | - * @param null $query |
|
60 | + * @param null|\Closure $query |
|
61 | 61 | * @param string $type |
62 | 62 | * |
63 | 63 | * @return $this |