| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 48 | 2 | public function checkIfRollbackIsSuccessful($migrationsForRollback): void  | 
            |
| 49 |     { | 
            ||
| 50 | 2 | $migrations = DB::table($this->migrationTable)  | 
            |
| 51 | 2 |             ->whereIn('migration', $migrationsForRollback) | 
            |
| 52 | 2 |             ->pluck('migration'); | 
            |
| 53 | |||
| 54 | 2 |         if ($migrations->isNotEmpty()) { | 
            |
| 55 | 1 | throw new RollbackMissingMigrationException($migrations);  | 
            |
| 56 | }  | 
            ||
| 59 |