Closed Braunson closed 2 years ago
I think everything should work if you change the variable names to one word:
SpotlightCommandDependency::make('crash course')
// into
SpotlightCommandDependency::make('crashCourse')
Thanks @PhiloNL, not sure why I realize that. Cheers!
In this case, this is my example spotlight command:
When diving deeper into the logic that calls the
execute
method, it's returningcrash course
with a space. I've tried multiple forms$crash_course
,$CrashCourse
, $crash_Course` and nothing seems to work here.If I dump out the dependencies from Livewire's
ImplicitlyBoundMethodClass
I get this.