@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param Matchable $matcher |
| 46 | - * @return Disjunction |
|
| 46 | + * @return TypeHint |
|
| 47 | 47 | */ |
| 48 | 48 | public function addMatcher(Matchable $matcher): Matchable |
| 49 | 49 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @param RuleInterface $rule |
| 34 | - * @return \Generator|Matchable |
|
| 34 | + * @return \Generator |
|
| 35 | 35 | */ |
| 36 | 36 | public function reduce(RuleInterface $rule): \Generator |
| 37 | 37 | { |