Skip to content

Commit 83f9377

Browse files
change to use ::class to find class name
1 parent 8d8dacb commit 83f9377

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Setting/SettingServiceProvider.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ public function boot()
3333
*/
3434
public function register()
3535
{
36-
$this->app->bind('Setting', '\Unisharp\Setting\Setting');
37-
38-
$this->app->bind('\Unisharp\Setting\SettingStorageContract', '\Unisharp\Setting\EloquentStorage');
36+
$this->app->bind('Setting', Setting::class);
37+
$this->app->bind(SettingStorageContract::class, EloquentStorage::class);
3938
}
4039
}

0 commit comments

Comments
 (0)