Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed May 24, 2020
1 parent aef6e40 commit 197a95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Console/Stubs/Modules/providers/event.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Providers;

use Illuminate\Foundation\Support\Providers\EventServiceProvider as Provider;
use $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\InstallModule;
use $MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\FinishInstallation;

class Event extends Provider
{
Expand All @@ -14,7 +14,7 @@ class Event extends Provider
*/
protected $listen = [
\App\Events\Module\Installed::class => [
InstallModule::class,
FinishInstallation::class,
],
];
}
2 changes: 1 addition & 1 deletion config/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'enabled' => true,
'path' => base_path('app/Console/Stubs/Modules'),
'files' => [
'listeners/install' => 'Listeners/InstallModule.php',
'listeners/install' => 'Listeners/FinishInstallation.php',
'providers/event' => 'Providers/Event.php',
'routes/admin' => 'Routes/admin.php',
'routes/portal' => 'Routes/portal.php',
Expand Down

0 comments on commit 197a95a

Please sign in to comment.