Skip to content

Error while installing this package #2

@Het-Parmar-21

Description

@Het-Parmar-21

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions