@@ -337,6 +337,7 @@ discard block |
||
337 | 337 | |
338 | 338 | /** |
339 | 339 | * @param string ...$fields |
340 | + * @param string[] $fields |
|
340 | 341 | * @return Query|$this|self |
341 | 342 | */ |
342 | 343 | public function asc(string ...$fields): self |
@@ -370,6 +371,7 @@ discard block |
||
370 | 371 | |
371 | 372 | /** |
372 | 373 | * @param string ...$fields |
374 | + * @param string[] $fields |
|
373 | 375 | * @return Query|$this|self |
374 | 376 | */ |
375 | 377 | public function desc(string ...$fields): self |
@@ -531,7 +533,7 @@ discard block |
||
531 | 533 | } |
532 | 534 | |
533 | 535 | /** |
534 | - * @return \Traversable|CriterionInterface[] |
|
536 | + * @return \Generator |
|
535 | 537 | */ |
536 | 538 | public function getCriteria(): iterable |
537 | 539 | { |
@@ -549,7 +551,7 @@ discard block |
||
549 | 551 | } |
550 | 552 | |
551 | 553 | /** |
552 | - * @param Selectable[] $contexts |
|
554 | + * @param ObjectRepository $contexts |
|
553 | 555 | * @return Query|$this|self |
554 | 556 | */ |
555 | 557 | public function scope(Selectable ...$contexts): self |
@@ -587,7 +589,7 @@ discard block |
||
587 | 589 | } |
588 | 590 | |
589 | 591 | /** |
590 | - * @return \Traversable|Selectable[] |
|
592 | + * @return \Generator |
|
591 | 593 | */ |
592 | 594 | public function getScopes(): \Traversable |
593 | 595 | { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @return iterable|object[] |
|
75 | + * @return Collection |
|
76 | 76 | */ |
77 | 77 | public function findAll(): iterable |
78 | 78 | { |