diff --git a/readme.md b/readme.md index b45b0fd..68303af 100644 --- a/readme.md +++ b/readme.md @@ -3,9 +3,9 @@ ### OracleDB (updated for Laravel 10) Build Status -Total Downloads -Latest Stable Version -License +Total Downloads +Latest Stable Version +License OracleDB is an Oracle Database Driver package for [Laravel Framework](https://laravel.com) - thanks [@taylorotwell](https://github.com/taylorotwell). OracleDB is an extension of [Illuminate/Database](https://github.com/illuminate/database) that uses the [OCI8 Functions](https://www.php.net/manual/en/ref.oci8.php) wrapped into the PDO namespace. diff --git a/src/Jfelder/OracleDB/OracleDBServiceProvider.php b/src/Jfelder/OracleDB/OracleDBServiceProvider.php index f153f5a..6214a5b 100644 --- a/src/Jfelder/OracleDB/OracleDBServiceProvider.php +++ b/src/Jfelder/OracleDB/OracleDBServiceProvider.php @@ -2,9 +2,7 @@ namespace Jfelder\OracleDB; -use Illuminate\Database\Connection; use Illuminate\Support\ServiceProvider; -use Jfelder\OracleDB\Connectors\OracleConnector; /** * Class OracleDBServiceProvider. @@ -33,13 +31,13 @@ public function register() // load default configs $config = [ - "oracle" => config('database.connections.oracle') + 'oracle' => config('database.connections.oracle'), ]; // override any default configs with user config and load those configs if (file_exists(config_path('oracledb.php'))) { $this->mergeConfigFrom(config_path('oracledb.php'), 'database.connections'); - + $config = $this->app['config']->get('oracledb'); }