| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | final class BooleanMapping extends PrimitiveMapping |
||
| 10 | { |
||
| 11 | /** @var mixed[] */ |
||
| 12 | private $truths = [true, 1, '1']; |
||
| 13 | /** @var mixed[] */ |
||
| 14 | private $falsehoods = [false, 0, '0']; |
||
| 15 | |||
| 16 | public static function custom( |
||
| 28 | } |
||
| 29 | |||
| 30 | public function value(array $data, $owner = null): bool |
||
| 47 |