Skip to content

Commit

Permalink
Use object instead mixed for compatibiluty with php7
Browse files Browse the repository at this point in the history
  • Loading branch information
samizdam authored and n.gnato committed Jun 3, 2024
1 parent 3c44b53 commit fa8d5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Injector.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function setLoggersMap(array $map): void
$this->loggersMap = $map;
}

private function isLoggerInjectionRequired(mixed $instance): bool
private function isLoggerInjectionRequired(object $instance): bool
{
return $instance instanceof LoggerAwareInterface && $this->enableLoggerAwareInjection;
}
Expand Down

0 comments on commit fa8d5f6

Please sign in to comment.