Since PolderKnowledge\LogModule\Helper\ZendLogUtils is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Loading history...
27
28
9
if (!$psrWriter) {
29
3
throw new NoPsrLoggerAvailable();
30
}
31
32
6
$reflectionClass = new ReflectionClass($psrWriter);
Late static binding only has effect in subclasses. A
final
class cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::
withself::
.To learn more about late static binding, please refer to the PHP core documentation.