| 1 | <?php |
||
| 5 | class IntGuesser extends AbstractGuesser implements GuesserInterface |
||
| 6 | { |
||
| 7 | public function supports(array $mapping) |
||
| 13 | |||
| 14 | public function transform($str, array $mapping = null) |
||
| 18 | |||
| 19 | public function fake(array $mapping) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $mapping |
||
| 29 | * |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | private function determineMaxValue(array $mapping) |
||
| 51 | |||
| 52 | public function getName() |
||
| 56 | } |
||
| 57 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.