Skip to content

Commit

Permalink
fix: static analyis/phpcs warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen-G committed Sep 28, 2024
1 parent ed6284b commit e4d2f95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tempest/Container/src/AutoDiscovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Tempest\Core\HandlesDiscoveryCache;
use Tempest\Reflection\ClassReflector;

/**
* @property GenericContainer $container
*/
final class AutoDiscovery implements Discovery
{
use HandlesDiscoveryCache;
Expand Down
2 changes: 2 additions & 0 deletions src/Tempest/Container/src/GenericContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function __construct(
public function setDefinitions(array $definitions): self
{
$this->definitions = new ArrayIterator($definitions);

return $this;
}

public function setInitializers(array $initializers): self
Expand Down

0 comments on commit e4d2f95

Please sign in to comment.