We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b96779 + dabf590 commit 953716dCopy full SHA for 953716d
app/Contexts/Arguments.php
@@ -12,7 +12,7 @@ public function type(): string
12
public function castToArray(): array
13
{
14
$autocompletingIndex = collect($this->children)->search(
15
- fn ($child) => $child->isAutoCompleting(),
+ fn ($child) => method_exists($child, 'isAutoCompleting') ? $child->isAutoCompleting() : false,
16
);
17
18
if ($autocompletingIndex === false) {
0 commit comments