| Total Complexity | 9 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class BitColumn extends Column |
||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | string|null $type = SchemaInterface::TYPE_BIT, |
||
| 15 | string|null $phpType = SchemaInterface::PHP_TYPE_INTEGER, |
||
| 16 | ) { |
||
| 17 | parent::__construct($type, $phpType); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function dbTypecast(mixed $value): int|string|ExpressionInterface|null |
||
| 26 | }; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function phpTypecast(mixed $value): int|null |
||
| 36 | } |
||
| 37 | |||
| 38 | public function normalizeDefaultValue(string|null $value): int|ExpressionInterface|null |
||
| 52 |