Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad authored Nov 11, 2024
1 parent 673d8aa commit 348ac18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions en/development/dependency-injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ Component Example
{
public function __construct(
ComponentRegistry $registry,
private UserService $users
private UserService $users,
array $config = []
) {
parent::__construct($registry);
parent::__construct($registry, $config);
}

public function something()
Expand Down

0 comments on commit 348ac18

Please sign in to comment.