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 | 37 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | $this->columns[$column['name']] = new class($column) |
||
15 | { |
||
16 | public function __construct(private array $column) |
||
17 | { |
||
18 | } |
||
19 | |||
20 | public function getName() |
||
21 | { |
||
22 | return $this->column['name']; |
||
23 | } |
||
24 | |||
25 | public function getNotnull() |
||
26 | { |
||
27 | return ! $this->column['nullable']; |
||
28 | } |
||
29 | |||
30 | public function getDefault() |
||
31 | { |
||
32 | return $this->column['default']; |
||
33 | } |
||
34 | |||
35 | public function getUnsigned() |
||
36 | { |
||
37 | return in_array('unsigned', explode(' ', $this->column['type'])); |
||
38 | } |
||
39 | |||
40 | public function getType() |
||
51 | } |
||
52 | }; |
||
53 | } |
||
54 | }; |
||
55 | } |
||
56 | } |
||
57 | |||
58 | public function getName(): string |
||
78 |