1 | <?php |
||
13 | class UseCast implements PassFunctionCallInterface |
||
14 | { |
||
15 | protected $map = array( |
||
16 | 'boolval' => 'bool', |
||
17 | 'intval' => 'int', |
||
18 | 'floatval' => 'double', |
||
19 | 'doubleval' => 'double', |
||
20 | 'strval' => 'string' |
||
21 | ); |
||
22 | |||
23 | public function visitPhpFunctionCall(FuncCall $funcCall, Context $context) |
||
54 | } |
||
55 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.