@@ -149,7 +149,7 @@ |
||
149 | 149 | * Returns a set of pending operations (Deferred) and QueryBuilder. |
150 | 150 | * |
151 | 151 | * @param Query $query |
152 | - * @return \Generator|\Closure[]|QueryBuilder |
|
152 | + * @return \Generator |
|
153 | 153 | */ |
154 | 154 | protected function toBuilder(Query $query): \Generator |
155 | 155 | { |
@@ -81,7 +81,7 @@ |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @param mixed $context |
|
84 | + * @param \Doctrine\ORM\QueryBuilder $context |
|
85 | 85 | * @param Query $query |
86 | 86 | * @return \Generator |
87 | 87 | */ |
@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * Returns a list of selection criteria. |
81 | 81 | * |
82 | - * @return \Generator|CriterionInterface[] |
|
82 | + * @return \Generator |
|
83 | 83 | */ |
84 | 84 | public function getCriteria(): \Generator |
85 | 85 | { |
@@ -34,6 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string ...$fields |
37 | + * @param string[] $fields |
|
37 | 38 | * @return Query|$this|self |
38 | 39 | */ |
39 | 40 | public function asc(string ...$fields): self |
@@ -70,6 +71,7 @@ discard block |
||
70 | 71 | |
71 | 72 | /** |
72 | 73 | * @param string ...$fields |
74 | + * @param string[] $fields |
|
73 | 75 | * @return Query|$this|self |
74 | 76 | */ |
75 | 77 | public function desc(string ...$fields): self |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | protected $repository; |
26 | 26 | |
27 | 27 | /** |
28 | - * @param ObjectRepository|Hydrogen $repository |
|
28 | + * @param ObjectRepository $repository |
|
29 | 29 | * @return Query|$this |
30 | 30 | */ |
31 | 31 | public function from(ObjectRepository $repository): self |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @return ObjectRepository|Hydrogen |
|
37 | + * @return ObjectRepository |
|
38 | 38 | * @throws \LogicException |
39 | 39 | */ |
40 | 40 | public function getRepository(): ObjectRepository |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string ...$fields |
24 | + * @param string[] $fields |
|
24 | 25 | * @return object[]|iterable |
25 | 26 | */ |
26 | 27 | public function get(string ...$fields): iterable |
@@ -167,6 +168,7 @@ discard block |
||
167 | 168 | |
168 | 169 | /** |
169 | 170 | * @param string ...$fields |
171 | + * @param string[] $fields |
|
170 | 172 | * @return Collection |
171 | 173 | */ |
172 | 174 | public function collect(string ...$fields): Collection |