Closed Spomky closed 4 years ago
With this small change, the property $logger is always set even if no logger is passed in the constructor. The NullLogger has no effect, but its use avoid multiple variable checks.
$logger
Looks good, less ifs is better :) Thanks!
With this small change, the property
$logger
is always set even if no logger is passed in the constructor. The NullLogger has no effect, but its use avoid multiple variable checks.