We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | $this->columns[$column['name']] = new class($column) |
||
| 13 | { |
||
| 14 | public function __construct(private array $column) |
||
| 15 | { |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getName() |
||
| 19 | { |
||
| 20 | return $this->column['name']; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getNotnull() |
||
| 24 | { |
||
| 25 | return ! $this->column['nullable']; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getDefault() |
||
| 29 | { |
||
| 30 | return $this->column['default']; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getType() |
||
| 44 | } |
||
| 45 | }; |
||
| 46 | } |
||
| 47 | }; |
||
| 48 | } |
||
| 49 | } |
||
| 50 | |||
| 66 |