We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9fe4b8 commit eb5af1aCopy full SHA for eb5af1a
src/Setting/SettingServiceProvider.php
@@ -33,10 +33,8 @@ public function boot()
33
*/
34
public function register()
35
{
36
- $this->app->bind('Setting', function () {
37
- return new Setting;
38
- });
+ $this->app->bind('Setting', '\Unisharp\Setting');
39
40
- $this->app->bind('\Unisharp\Setting\SettingStorageInterface', '\Unisharp\Setting\EloquentStorage');
+ $this->app->bind('\Unisharp\Setting\SettingStorageContract', '\Unisharp\Setting\EloquentStorage');
41
}
42
0 commit comments