added collection to JsonResponse #39
Annotations
3 errors
phpstan:
src/Macros/StrMacros.php#L397
Parameter #1 $items of static method Illuminate\Support\Collection<(int|string),mixed>::make() expects Illuminate\Contracts\Support\Arrayable<(int|string), mixed>|iterable<(int|string), mixed>|null, array|false given.
|
phpstan:
src/Macros/StrMacros.php#L404
Parameter #2 $callback of method Illuminate\Support\Collection<(int|string),string>::when() expects (callable(Illuminate\Support\Collection<int|string, non-falsy-string>, bool): Illuminate\Support\Collection<int|string, string>)|null, Closure(Illuminate\Support\Collection): Illuminate\Support\Collection<int|string, non-falsy-string> given.
|
phpstan
Process completed with exit code 1.
|