@@ -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 | { |
@@ -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 | { |