Skip to content

Commit

Permalink
Merge pull request #30 from gander/patch-1
Browse files Browse the repository at this point in the history
Fix wrong serviceLocator property name
  • Loading branch information
abacaphiliac authored Sep 9, 2017
2 parents 70e3a47 + b90b959 commit 343a5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EnliteMonolog/Service/MonologServiceAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getMonologService()
$this->monologService = $this->getServiceLocator()->get($this->monologLoggerName);
} else {
if (property_exists($this, 'serviceLocator')
&& $this->monologService instanceof ServiceLocatorInterface
&& $this->serviceLocator instanceof ServiceLocatorInterface
) {
$this->monologService = $this->serviceLocator->get($this->monologLoggerName);
} else {
Expand Down

0 comments on commit 343a5d2

Please sign in to comment.