diff --git a/Modules/Workshop/Providers/WorkshopServiceProvider.php b/Modules/Workshop/Providers/WorkshopServiceProvider.php index 00e8ec664..0bb42f448 100644 --- a/Modules/Workshop/Providers/WorkshopServiceProvider.php +++ b/Modules/Workshop/Providers/WorkshopServiceProvider.php @@ -21,7 +21,7 @@ use Modules\Workshop\Scaffold\Module\ModuleScaffold; use Modules\Workshop\Scaffold\Theme\ThemeGeneratorFactory; use Modules\Workshop\Scaffold\Theme\ThemeScaffold; -use Nwidart\Modules\Repository; +use Nwidart\Modules\Contracts\RepositoryInterface; class WorkshopServiceProvider extends ServiceProvider { @@ -55,7 +55,7 @@ public function register() }); app('router')->bind('module', function ($module) { - return app(Repository::class)->find($module); + return app(RepositoryInterface::class)->find($module); }); app('router')->bind('theme', function ($theme) { return app(ThemeManager::class)->find($theme);