mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Specify BuilderCollection element type
This stops PHPStan from complaining: Class Ramsey\Uuid\Builder\BuilderCollection extends generic class Ramsey\Collection\AbstractCollection but does not specify its types: T
This commit is contained in:
@@ -26,6 +26,8 @@ use Traversable;
|
||||
|
||||
/**
|
||||
* A collection of UuidBuilderInterface objects
|
||||
*
|
||||
* @extends AbstractCollection<UuidBuilderInterface>
|
||||
*/
|
||||
class BuilderCollection extends AbstractCollection
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user