The method countQueued() does not exist on insolita\cqueue\Contracts\DelayingInterface. Since it exists in all sub-types, consider adding an abstract or default implementation to insolita\cqueue\Contracts\DelayingInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
27
if ($queue->/** @scrutinizer ignore-call */ countQueued() === 0) {
Loading history...
28
throw new Exception('Queue ' . $queue->getName() . ' is empty');
The method getName() does not exist on insolita\cqueue\Contracts\DelayingInterface. Since it exists in all sub-types, consider adding an abstract or default implementation to insolita\cqueue\Contracts\DelayingInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
28
throw new Exception('Queue ' . $queue->/** @scrutinizer ignore-call */ getName() . ' is empty');