diff --git a/src/Types/Compound.php b/src/Types/Compound.php index ac099c8..3e5ebb5 100644 --- a/src/Types/Compound.php +++ b/src/Types/Compound.php @@ -31,7 +31,7 @@ final class Compound implements Type * * @param Type[] $types */ - public function __construct($types) + public function __construct(array $types) { foreach ($types as $type) { if (!$type instanceof Type) {