We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 8 |
Paths | 8 |
Total Lines | 16 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | protected function resolveTypeFromPhpType(string $phpType): ?string |
||
13 | { |
||
14 | switch ($phpType) { |
||
15 | case 'boolean': |
||
16 | case 'bool': |
||
17 | return 'Boolean'; |
||
18 | case 'integer': |
||
19 | case 'int': |
||
20 | return 'Int'; |
||
21 | case 'float': |
||
22 | case 'double': |
||
23 | return 'Float'; |
||
24 | case 'string': |
||
25 | return 'String'; |
||
26 | default: |
||
27 | return null; |
||
28 | } |
||
31 |