| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | protected function checkFixture(ConnectionInterface $db, string $tablename, bool $reset = false): void |
||
| 16 | { |
||
| 17 | $schema = $db->getSchema(); |
||
| 18 | $tableSchema = $schema->getTableSchema($tablename, true); |
||
| 19 | |||
| 20 | if ($tableSchema === null || $reset) { |
||
| 21 | DbHelper::loadFixture($db); |
||
| 22 | |||
| 23 | $schema->refresh(); |
||
| 24 | } |
||
| 46 |