Skip to content

Commit

Permalink
chore: Update Util.php to handle missing swoole_get_local_ip function…
Browse files Browse the repository at this point in the history
… (#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 <[email protected]>
  • Loading branch information
huangdijia and huangdijia authored Jul 20, 2024
1 parent 8ac9e96 commit baeea0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Pipeline/Hub.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@

class Hub implements HubInterface
{
/**
* The container implementation.
*/
protected ?ContainerInterface $container = null;

/**
* All of the available pipelines.
*/
Expand All @@ -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;
}
Expand Down

0 comments on commit baeea0f

Please sign in to comment.