-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument #1 ($function) must be of type Closure|string, array give #1652
Comments
yup, getting this too |
Can you dump what is in the array there? |
&&
getting same isdue on php artisan ide-helper:meta |
i fixed mine it was the package i was using |
same problem here |
im not seeing this issue, im also not using sail but i might setup a testbed to see if i can reproduce it. |
What package? I'll catch the errors in #1654 now but would be better to fix. |
What macros do you have defined? |
This issue should be fixed with #1655 |
@barryvdh This the args: array:1 [▼
"exception" => Error {#25436 ▼
#message: "Call to undefined method Spatie\CollectionMacros\Macros\At::slice()"
#code: 0
#file: "
/var/www/html/vendor
/spatie/laravel-collection-macros/
src/Macros/At.php"
#line: 28
trace: {▶}
}
] |
@barryvdh Closing this as Thanks for the quick fix. :) |
Versions:
Description:
Steps To Reproduce:
php artisan ide-helper:generate
If you need more info, please let me know!
The text was updated successfully, but these errors were encountered: