Apply fixes from StyleCI (#335)
This commit is contained in:
parent
3355554704
commit
5bf2e2686a
3 changed files with 6 additions and 5 deletions
|
@ -114,7 +114,8 @@ class DatabaseRepository
|
|||
DB::connection('dynamic')->statement(sprintf('DROP DATABASE IF EXISTS `%s`', $database->database));
|
||||
DB::connection('dynamic')->statement(sprintf('DROP USER IF EXISTS `%s`@`%s`', $database->username, $database->remote));
|
||||
DB::connection('dynamic')->statement('FLUSH PRIVILEGES');
|
||||
} catch (\Exception $ex) {}
|
||||
} catch (\Exception $ex) {
|
||||
}
|
||||
|
||||
DB::rollBack();
|
||||
throw $ex;
|
||||
|
|
|
@ -624,7 +624,7 @@ class ServerRepository
|
|||
}
|
||||
|
||||
if ($server->option->variables) {
|
||||
foreach($server->option->variables as &$variable) {
|
||||
foreach ($server->option->variables as &$variable) {
|
||||
$set = isset($data['env_' . $variable->id]);
|
||||
|
||||
// Variable is required but was not passed into the function.
|
||||
|
|
Reference in a new issue