The method createServices() does not exist on Panamax\Contracts\ServiceContainerInterface. It seems like you code against a sub-type of Panamax\Contracts\ServiceContainerInterface such as Panamax\Adapters\League\LeagueAdapter or Panamax\Adapters\League\LeagueAdapter or Panamax\Adapters\League\LeagueAdapter.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
23
$this->container->/** @scrutinizer ignore-call */
24
createServices($services);
Loading history...
24
}
25
}
26
27
public function maybeAddProviders(iterable $providers)
28
{
29
if ($this->container instanceof ProviderContainerInterface) {
The method addServiceProvider() does not exist on Panamax\Contracts\ServiceContainerInterface. It seems like you code against a sub-type of said class. However, the method does not exist in Panamax\Contracts\ContainerAdapterInterface or Panamax\Adapters\AbstractContainerAdapter. Are you sure you never get one of those?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
31
$this->container->/** @scrutinizer ignore-call */
32
addServiceProvider($provider);
Loading history...
32
}
33
}
34
}
35
36
public function maybeBootProviders()
37
{
38
if ($this->container instanceof BootableProviderContainerInterface) {
The method bootServiceProviders() does not exist on Panamax\Contracts\ServiceContainerInterface. It seems like you code against a sub-type of Panamax\Contracts\ServiceContainerInterface such as Panamax\Contracts\Bootab...viderContainerInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation