File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class GoogleAutocomplete extends Component
3333
3434 public ?array $ withFields = null ;
3535
36- protected string |Closure $ autocompleteFieldColumnSpan = 'full ' ;
36+ protected int | array | string |Closure $ autocompleteFieldColumnSpan = 'full ' ;
3737
3838 protected int |Closure $ autocompleteSearchDebounce = 2000 ; // 2 seconds
3939
@@ -224,7 +224,7 @@ public function getWithFields(): ?array
224224 return $ evaluated ;
225225 }
226226
227- public function autocompleteFieldColumnSpan (string |Closure $ autocompleteFieldColumnSpan = 'full ' ): static
227+ public function autocompleteFieldColumnSpan (int | array | string |Closure $ autocompleteFieldColumnSpan = 'full ' ): static
228228 {
229229 $ this ->autocompleteFieldColumnSpan = $ autocompleteFieldColumnSpan ;
230230
@@ -233,7 +233,7 @@ public function autocompleteFieldColumnSpan(string|Closure $autocompleteFieldCol
233233 return $ this ;
234234 }
235235
236- public function getAutocompleteFieldColumnSpan (): ? string
236+ public function getAutocompleteFieldColumnSpan (): int | array | string | null
237237 {
238238 return $ this ->evaluate ($ this ->autocompleteFieldColumnSpan );
239239 }
You can’t perform that action at this time.
0 commit comments