Skip to content

Commit

Permalink
Also check interface class-names
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Dec 15, 2023
1 parent 4c79e3d commit de0ead2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/Type/ClassStringTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public function getValidCoercions(): iterable
yield [$_ = Collection\MutableVector::class, $_];
yield [$_ = Collection\Map::class, $_];
yield [$_ = Collection\MutableMap::class, $_];
yield [$_ = Collection\MutableMapInterface::class, $_];
yield [$_ = Collection\CollectionInterface::class, $_];
}

public function getInvalidCoercions(): iterable
Expand Down

0 comments on commit de0ead2

Please sign in to comment.