From d2b253469976e5c55f880132148c08e8ee4751ff Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Mon, 27 Nov 2017 12:14:06 +1100 Subject: [PATCH] Fixes poorly named event Event names should be based on the class name, not the command name (so shouldn't ever need to contain the : character) Refs #1644 --- modules/system/console/OctoberMirror.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/console/OctoberMirror.php b/modules/system/console/OctoberMirror.php index 5da0aed3d..a6d051b92 100644 --- a/modules/system/console/OctoberMirror.php +++ b/modules/system/console/OctoberMirror.php @@ -94,19 +94,19 @@ class OctoberMirror extends Command $paths->wildcards = $this->wildcards; /** - * @event system.console.october:mirror.extendPaths + * @event system.console.mirror.extendPaths * Enables extending the `php artisan october:mirror` command * * You will have access to a $paths stdClass with `files`, `directories`, `wildcards` properties available for modifying. * * Example usage: * - * Event::listen('system.console.october:mirror.extendPaths', function($paths) { + * Event::listen('system.console.mirror.extendPaths', function($paths) { * $paths->directories = array_merge($paths->directories, ['plugins/myauthor/myplugin/public']); * }); * */ - Event::fire('system.console.october:mirror.extendPaths', [$paths]); + Event::fire('system.console.mirror.extendPaths', [$paths]); foreach ($paths->files as $file) { $this->mirrorFile($file);