The expression return static::instance could return the type null which is incompatible with the type-hinted return kalanis\kw_mapper\Storage\Database\ConfigStorage. Consider adding an additional type-check to rule them out.
Loading history...
26
}
27
28
1
protected function __construct()
29
{
30
1
}
31
32
/**
33
* @codeCoverageIgnore why someone would run that?!
34
*/
35
private function __clone()
36
{
37
}
38
39
64
final public function addConfig(Config $config): void