Run php-cs-fixer on the code base
This commit is contained in:
@@ -42,8 +42,7 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
|
||||
if ($db->schema()->check(\Schema\VERSION)) {
|
||||
return $db;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$errors = $db->getLogMessages();
|
||||
die('Unable to migrate database schema: <br/><br/><strong>'.(isset($errors[0]) ? $errors[0] : 'Unknown error').'</strong>');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user