Skip to content

Commit

Permalink
Merge pull request #82 from maxmirazh33/5.2
Browse files Browse the repository at this point in the history
change AnalogueServiceProvider for compatibility with laravel 5.2
  • Loading branch information
RemiCollin committed Jan 4, 2016
2 parents 5fd45e3 + 4b71f8b commit f727222
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AnalogueServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Analogue\ORM;

use Illuminate\Support\ServiceProvider;
use Illuminate\Database\DatabaseManager;
use Analogue\ORM\System\Manager;
use Analogue\ORM\Drivers\Manager as DriverManager;
use Analogue\ORM\Drivers\IlluminateDriver;
Expand Down Expand Up @@ -35,7 +34,7 @@ public function boot()
*/
public function register()
{
$this->app->bindShared('analogue', function ($app) {
$this->app->singleton('analogue', function ($app) {

$db = $app['db'];

Expand Down

0 comments on commit f727222

Please sign in to comment.