The expression $this->client->all($criteria); of type array|Packagist\Api\Result\Package adds the type Packagist\Api\Result\Package to the return on line 40 which is incompatible with the return type declared by the interface WellCommerce\Bundle\Core...rInterface::getPackages of type array.
Loading history...
41
}
42
43
public function getPackage(string $name): PackagistPackage