-
Notifications
You must be signed in to change notification settings - Fork 0
Description
BadMethodCallException
Method Hyperf\Collection\Collection::whenNotEmpty does not exist.
at vendor\hyperf\macroable\src\Macroable.php:69
65▕ */
66▕ public function __call($method, $parameters)
67▕ {
68▕ if (! static::hasMacro($method)) {
➜ 69▕ throw new BadMethodCallException(sprintf(
70▕ 'Method %s::%s does not exist.',
71▕ static::class,
72▕ $method
73▕ ));
i Bad Method Call: Did you mean Hyperf\Collection\Collection::isNotEmpty() ?
1 vendor\laravel\framework\src\Illuminate\Foundation\Console\PackageDiscoverCommand.php:41
Hyperf\Collection\Collection::__call("whenNotEmpty")
2 vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
Illuminate\Foundation\Console\PackageDiscoverCommand::handle(Object(Illuminate\Foundation\PackageManifest))
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1