@@ -58,7 +58,7 @@ |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * @param Matchable $matcher |
| 61 | - * @return OrTypeHint |
|
| 61 | + * @return TypeHint |
|
| 62 | 62 | */ |
| 63 | 63 | public function addMatcher(Matchable $matcher): Matchable |
| 64 | 64 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param RuleInterface $rule |
| 32 | - * @return mixed|string |
|
| 32 | + * @return \Generator |
|
| 33 | 33 | */ |
| 34 | 34 | public function reduce(RuleInterface $rule) |
| 35 | 35 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param RuleInterface $rule |
| 32 | - * @return \Generator|TypeHint |
|
| 32 | + * @return \Generator |
|
| 33 | 33 | */ |
| 34 | 34 | public function reduce(RuleInterface $rule): \Generator |
| 35 | 35 | { |