Skip to content

Commit

Permalink
fix links and pint
Browse files Browse the repository at this point in the history
  • Loading branch information
jfelder committed Jul 25, 2024
1 parent 6d9be93 commit f508c7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
### OracleDB (updated for Laravel 10)

<a href="https://github.com/jfelder/Laravel-OracleDB/actions"><img src="https://github.com/jfelder/Laravel-OracleDB/workflows/tests/badge.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/jfelder/oracledb" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/jfelder/oracledb" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/jfelder/oracledb" alt="License"></a>
<a href="https://packagist.org/packages/jfelder/oracledb"><img src="https://img.shields.io/packagist/dt/jfelder/oracledb" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/jfelder/oracledb"><img src="https://img.shields.io/packagist/v/jfelder/oracledb" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/jfelder/oracledb"><img src="https://img.shields.io/packagist/l/jfelder/oracledb" alt="License"></a>


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.
Expand Down
6 changes: 2 additions & 4 deletions src/Jfelder/OracleDB/OracleDBServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

namespace Jfelder\OracleDB;

use Illuminate\Database\Connection;
use Illuminate\Support\ServiceProvider;
use Jfelder\OracleDB\Connectors\OracleConnector;

/**
* Class OracleDBServiceProvider.
Expand Down Expand Up @@ -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');
}

Expand Down

0 comments on commit f508c7d

Please sign in to comment.