| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class TypeUtils |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | const TYPE_STRING = 'string'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | const TYPE_INTEGER = 'integer'; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | const TYPE_BOOLEAN = 'boolean'; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param array $map |
||
| 47 | * @param array $target |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | 5 | public static function castTypesByMap(array $map, array $target) |
|
| 62 |