Skip to content

Commit

Permalink
change to use ::class to find class name
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomKnight authored Jun 23, 2017
1 parent 8d8dacb commit 83f9377
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Setting/SettingServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public function boot()
*/
public function register()
{
$this->app->bind('Setting', '\Unisharp\Setting\Setting');

$this->app->bind('\Unisharp\Setting\SettingStorageContract', '\Unisharp\Setting\EloquentStorage');
$this->app->bind('Setting', Setting::class);
$this->app->bind(SettingStorageContract::class, EloquentStorage::class);
}
}

0 comments on commit 83f9377

Please sign in to comment.