Skip to content

Commit

Permalink
Reindex namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
marmichalski committed May 8, 2024
1 parent f3826fe commit 2631ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Expression/ForClasses/ResideInOneOfTheseNamespaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ResideInOneOfTheseNamespaces implements Expression

public function __construct(string ...$namespaces)
{
$this->namespaces = array_unique($namespaces);
$this->namespaces = array_values(array_unique($namespaces));
}

public function describe(ClassDescription $theClass, string $because): Description
Expand Down

0 comments on commit 2631ba6

Please sign in to comment.