@@ -71,6 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @param int ...$values |
74 | + * @param integer[] $values |
|
74 | 75 | * @return ProvidesTypeIndication|$this |
75 | 76 | */ |
76 | 77 | public function withModifiers(int ...$values): ProvidesTypeIndication |
@@ -83,7 +84,7 @@ discard block |
||
83 | 84 | } |
84 | 85 | |
85 | 86 | /** |
86 | - * @param string|TypeDefinition $type |
|
87 | + * @param string $type |
|
87 | 88 | * @return ProvidesTypeIndication|$this |
88 | 89 | */ |
89 | 90 | public function withTypeDefinition($type): ProvidesTypeIndication |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string|null $name |
38 | - * @return iterable|DirectiveInvocation[]|\Generator |
|
38 | + * @return \Generator |
|
39 | 39 | */ |
40 | 40 | public function getDirectives(string $name = null): iterable |
41 | 41 | { |
@@ -48,6 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @param DirectiveInvocation ...$invocations |
51 | + * @param DirectiveInvocation[] $invocations |
|
51 | 52 | * @return ProvidesDirectives|$this |
52 | 53 | */ |
53 | 54 | public function withDirective(DirectiveInvocation ...$invocations): ProvidesDirectives |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | abstract protected function fetch($type): TypeDefinition; |
30 | 30 | |
31 | 31 | /** |
32 | - * @return iterable|TypeDefinition[] |
|
32 | + * @return \Generator |
|
33 | 33 | */ |
34 | 34 | public function getParents(): iterable |
35 | 35 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @param string|TypeDefinition $type |
|
75 | + * @param TypeDefinition $type |
|
76 | 76 | * @return bool |
77 | 77 | */ |
78 | 78 | public function isExtends($type): bool |