| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | abstract class AbstractCall implements ParameterInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | protected $bToInt = false; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return self |
||
| 26 | */ |
||
| 27 | public function toInt(): self |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * return array |
||
| 35 | */ |
||
| 36 | protected function toIntCall(): array |
||
| 37 | { |
||
| 38 | return [ |
||
| 39 | '_type' => 'method', |
||
| 40 | '_name' => 'toInt', |
||
| 41 | 'args' => [], |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritDoc |
||
| 47 | */ |
||
| 48 | public function getType(): string |
||
| 51 | } |
||
| 52 | } |
||
| 53 |