diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index 5071ea4..1f3cc21 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -24,7 +24,7 @@ class Handler private $exceptionHandler; /** - * @var Log + * @var \Psr\Log\LoggerInterface|\Illuminate\Contracts\Logging\Log */ private $logger; @@ -36,10 +36,10 @@ class Handler /** * Handler constructor. * @param ExceptionHandler $handler - * @param Log $logger + * @param \Psr\Log\LoggerInterface|\Illuminate\Contracts\Logging\Log $logger * @param Repository $config */ - public function __construct(ExceptionHandler $handler, Log $logger, Repository $config) + public function __construct(ExceptionHandler $handler, $logger, Repository $config) { $this->exceptionHandler = $handler; $this->logger = $logger; diff --git a/src/MessageLifecycleManager.php b/src/MessageLifecycleManager.php index a394e20..1053720 100644 --- a/src/MessageLifecycleManager.php +++ b/src/MessageLifecycleManager.php @@ -5,13 +5,12 @@ use Closure; use Exception; use Illuminate\Contracts\Config\Repository; -use Illuminate\Contracts\Logging\Log; use PhpAmqpLib\Message\AMQPMessage; class MessageLifecycleManager { /** - * @var Log + * @var \Psr\Log\LoggerInterface|\Illuminate\Contracts\Logging\Log */ protected $logger; @@ -42,10 +41,10 @@ class MessageLifecycleManager /** * MessageLifecycleManager constructor. - * @param Log $logger + * @param \Psr\Log\LoggerInterface|\Illuminate\Contracts\Logging\Log $logger * @param Repository $config */ - public function __construct(Log $logger, Repository $config) + public function __construct($logger, Repository $config) { $this->logger = $logger; $this->config = $config;