Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 5, 2024
1 parent a9e9be4 commit bc3f5fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Illuminate/Support/MultipleInstanceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ protected function resolve($name)

if (method_exists($this, $createMethod)) {
return $this->{$createMethod}($config);

}

$createMethod = 'create'.Str::studly($driverName).ucfirst($this->driverKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public function __construct($config)
};
}

protected function createMysqlDatabaseConnectionDriver(array $config) {
protected function createMysqlDatabaseConnectionDriver(array $config)
{
return new class($config)
{
public function __construct(public $config)
Expand Down Expand Up @@ -86,7 +87,7 @@ public function getInstanceConfig($name)
case 'mysql_database-connection':
return [
'driver' => 'mysql_database-connection',
'mysql_database-connection-option' => 'option-value'
'mysql_database-connection-option' => 'option-value',
];
default:
return [];
Expand Down

0 comments on commit bc3f5fa

Please sign in to comment.