Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Conversation

@Spomky
Copy link
Contributor

@Spomky Spomky commented Feb 2, 2020

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.

@Spomky Spomky requested a review from scheb February 3, 2020 19:38
@scheb scheb merged commit 8297b24 into scheb:master Feb 4, 2020
@scheb
Copy link
Owner

scheb commented Feb 4, 2020

Looks good, less ifs is better :) Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants