From c61b05fa604711f1a68cdaaeee0655ee128d5aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=A3=E8=A8=80=E5=B0=B1=E6=98=AFSiam?= <59419979@qq.com> Date: Tue, 19 Mar 2024 17:04:52 +0800 Subject: [PATCH] Fixed sentry logger handle (#594) * Get sentry current hub * CS Fxied --------- Co-authored-by: hzh --- src/Pipeline/Hub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pipeline/Hub.php b/src/Pipeline/Hub.php index 185496a..3d784a7 100644 --- a/src/Pipeline/Hub.php +++ b/src/Pipeline/Hub.php @@ -31,7 +31,7 @@ class Hub implements HubInterface /** * Create a new Hub instance. */ - public function __construct(ContainerInterface $container = null) + public function __construct(?ContainerInterface $container = null) { $this->container = $container; }