| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | private function makeTableIndex(array $row): IndexEntity |
||
| 39 | { |
||
| 40 | $index = new IndexEntity(); |
||
| 41 | |||
| 42 | $index->type = $this->getTableIndexType($row); |
||
| 43 | $index->columns[] = $row['Column_name']; |
||
| 44 | $index->lengths[] = ($row['Index_type'] == 'SPATIAL' ? null : $row['Sub_part']); |
||
| 45 | $index->descs[] = null; |
||
| 46 | |||
| 47 | return $index; |
||
| 48 | } |
||
| 62 |