| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class FakeController |
||
| 8 | { |
||
| 9 | public function basicAction(): string |
||
| 10 | { |
||
| 11 | return 'Expected!'; |
||
| 12 | } |
||
| 13 | |||
| 14 | public function stringParamAction(string $param): string |
||
| 18 | } |
||
| 19 | |||
| 20 | public function intParamAction(int $param): string |
||
| 21 | { |
||
| 22 | $type = get_debug_type($param); |
||
| 23 | return "The '{$type}' param is '{$param}'!"; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function floatParamAction(float $param): string |
||
| 27 | { |
||
| 28 | $type = get_debug_type($param); |
||
| 29 | return "The '{$type}' param is '{$param}'!"; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function boolParamAction(bool $param): string |
||
| 37 | } |
||
| 38 | |||
| 39 | public function manyParamsAction(string $firstParam, string $secondParam, string $thirdParam): string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |