Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Feb 24, 2024
1 parent 70b96da commit 3936834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/Config/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ServiceProvider extends AbstractServiceProvider

protected ConfigInterface $config;

public function register(DiInterface $di = null): void
public function register(DiInterface $di): void
{
// Set shared service in DI
$di->setShared($this->getName(), function () use ($di) {
Expand Down

0 comments on commit 3936834

Please sign in to comment.