@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * @param string $filename |
24 | 24 | * @param NodeVisitor ...$visitors |
25 | + * @param NodeVisitor[] $visitors |
|
25 | 26 | * |
26 | 27 | * @return Node[] |
27 | 28 | */ |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | /** |
34 | 35 | * @param Node\Stmt[] $nodes |
35 | 36 | * @param NodeVisitor ...$visitors |
37 | + * @param NodeVisitor[] $visitors |
|
36 | 38 | * |
37 | 39 | * @return Node[] |
38 | 40 | */ |
@@ -44,7 +46,7 @@ discard block |
||
44 | 46 | /** |
45 | 47 | * @param string $filename |
46 | 48 | * |
47 | - * @return Node\Stmt[]|null |
|
49 | + * @return Node[] |
|
48 | 50 | */ |
49 | 51 | private function parseNodes(string $filename): ?array |
50 | 52 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @param string $role |
32 | 32 | * @param array $scope |
33 | 33 | * |
34 | - * @return ReferenceInterface|null |
|
34 | + * @return PromiseInterface|null |
|
35 | 35 | * @throws ProxyFactoryException |
36 | 36 | */ |
37 | 37 | public function promise(ORMInterface $orm, string $role, array $scope): ?ReferenceInterface |