Fix coding style according to StyleCI

parent 154ab12a
......@@ -136,10 +136,11 @@ class Connection extends \Illuminate\Database\Connection
$driverOptions = $config['driver_options'];
}
if (!isset($options['username'])){
// Check if the credentials are not already set in the options
if (!isset($options['username'])) {
$options['username'] = isset($config['username']) ? $config['username'] : '';
}
if (!isset($options['password'])){
if (!isset($options['password'])) {
$options['password'] = isset($config['password']) ? $config['password'] : '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment