From baeea0fdf102905b3d1b7779ae1e3a4f50738831 Mon Sep 17 00:00:00 2001 From: Deeka Wong Date: Sat, 20 Jul 2024 11:54:23 +0800 Subject: [PATCH] chore: Update Util.php to handle missing swoole_get_local_ip function (#689) * chore: Update Util.php to handle missing swoole_get_local_ip function * chore: Remove unused ContainerInterface property from Hub class --------- Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com> --- src/Pipeline/Hub.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Pipeline/Hub.php b/src/Pipeline/Hub.php index 3d784a7..e4b94d0 100644 --- a/src/Pipeline/Hub.php +++ b/src/Pipeline/Hub.php @@ -18,11 +18,6 @@ class Hub implements HubInterface { - /** - * The container implementation. - */ - protected ?ContainerInterface $container = null; - /** * All of the available pipelines. */ @@ -31,7 +26,7 @@ class Hub implements HubInterface /** * Create a new Hub instance. */ - public function __construct(?ContainerInterface $container = null) + public function __construct(protected ?ContainerInterface $container = null) { $this->container = $container; }