| Total Complexity | 10 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class BitColumn extends Column |
||
| 15 | { |
||
| 16 | public function __construct( |
||
| 17 | string|null $type = SchemaInterface::TYPE_BIT, |
||
|
|
|||
| 18 | string|null $phpType = SchemaInterface::PHP_TYPE_INTEGER, |
||
| 19 | ) { |
||
| 20 | parent::__construct($type, $phpType); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function dbTypecast(mixed $value): int|string|ExpressionInterface|null |
||
| 32 | }; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function phpTypecast(mixed $value): int|null |
||
| 42 | } |
||
| 43 | |||
| 44 | public function normalizeDefaultValue(string|null $value): int|ExpressionInterface|null |
||
| 58 |