Skip to content

Commit

Permalink
Fix: Add property type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 3, 2023
1 parent ea48cdd commit c2932ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Faker/Container/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ final class Container implements ContainerInterface
/**
* @var array<string, callable|object|string>
*/
private $definitions;
private array $definitions;

private $services = [];
private array $services = [];

/**
* Create a container object with a set of definitions. The array value MUST
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Container/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class ContainerBuilder
/**
* @var array<string, callable|object|string>
*/
private $definitions = [];
private array $definitions = [];

/**
* @param callable|object|string $value
Expand Down

0 comments on commit c2932ea

Please sign in to comment.