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.
1 parent c4d7245 commit e9232f3Copy full SHA for e9232f3
src/Completion.php
@@ -60,13 +60,10 @@ public function isGlobal()
60
*/
61
public function run()
62
{
63
- if (is_array($this->completion)) {
64
- return $this->completion;
65
- }
66
-
67
if ($this->isCallable()) {
68
return call_user_func($this->completion);
69
}
+ return (array) $this->completion;
70
71
72
/**
0 commit comments