Total Complexity | 4 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class SqliteDriverMetas extends AbstractDriverMetaDatas { |
||
14 | |||
15 | public function getForeignKeys($tableName, $pkName, $dbName = null): array { |
||
16 | // TODO |
||
17 | } |
||
|
|||
18 | |||
19 | public function getTablesName(): array { |
||
20 | // TODO |
||
21 | } |
||
22 | |||
23 | public function getPrimaryKeys($tableName): array { |
||
24 | // TODO |
||
25 | } |
||
26 | |||
27 | public function getFieldsInfos($tableName): array { |
||
28 | // TODO |
||
29 | } |
||
30 | } |
||
32 |
For hinted functions/methods where all return statements with the correct type are only reachable via conditions, ?null? gets implicitly returned which may be incompatible with the hinted type. Let?s take a look at an example: