We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f72a3 commit 864c10cCopy full SHA for 864c10c
src/SimpleContainer.php
@@ -28,11 +28,11 @@ class SimpleContainer extends Container
28
29
/**
30
* @phpcs:ignore SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax.DisallowedArrayTypeHintSyntax
31
- * @param NamedType[] $types
+ * @param iterable<NamedType> $types
32
33
- * @param TypesystemDirective[] $directives
+ * @param iterable<Directive> $directives
34
*/
35
- public function __construct(array $types, array $directives)
+ public function __construct(iterable $types, iterable $directives)
36
{
37
self::$builtInTypes = [
38
'ID' => self::ID(),
0 commit comments