It seems like getConfig() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like getConfigStore() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
61
/** @scrutinizer ignore-call */
62
$config = $this->getConfigStore($name);
Loading history...
62
63
2
if (is_null($config)) {
64
2
if ($name == 'file') {
65
2
$config = ['driver' => 'file'];
66
} else {
67
throw new InvalidArgumentException("Cache store [{$name}] is not defined.");
It seems like createDriver() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation