Skip to content

Commit

Permalink
remove unused $di from anonymous function
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Feb 24, 2024
1 parent 3936834 commit 92fc684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/Utils/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ServiceProvider extends AbstractServiceProvider

public function register(DiInterface $di): void
{
$di->setShared($this->getName(), function () use ($di) {
$di->setShared($this->getName(), function () {

return new Utils();
});
Expand Down

0 comments on commit 92fc684

Please sign in to comment.