@@ -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 | { |
@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string ...$fields |
23 | + * @param string[] $fields |
|
23 | 24 | * @return object[]|iterable |
24 | 25 | */ |
25 | 26 | public function get(string ...$fields): iterable |
@@ -149,6 +150,7 @@ discard block |
||
149 | 150 | |
150 | 151 | /** |
151 | 152 | * @param string ...$fields |
153 | + * @param string[] $fields |
|
152 | 154 | * @return Collection |
153 | 155 | */ |
154 | 156 | public function collect(string ...$fields): Collection |
@@ -157,7 +159,7 @@ discard block |
||
157 | 159 | } |
158 | 160 | |
159 | 161 | /** |
160 | - * @param string[] $fields |
|
162 | + * @param string $fields |
|
161 | 163 | * @return object|null |
162 | 164 | * @throws \LogicException |
163 | 165 | */ |
@@ -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 |