@@ -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 |