diff --git a/ahoy.yml b/ahoy.yml index 8fc1be5d082fe1f783ba9f4d63225ab6f1352bd7..d0f9fbc151906ebed3964482fd855ef770d04ae7 100644 --- a/ahoy.yml +++ b/ahoy.yml @@ -1,5 +1,5 @@ ahoyapi: v2 commands: update: - cmd: composer ahoy "$@" + cmd: composer lakedrops:ahoy "$@" usage: Update Ahoy setup in project diff --git a/src/Plugin.php b/src/Plugin.php index 3b1c1fb20c91f4d8277025723f3e6c2f6e1e9e61..20d88cd69adbc384d69f3232db693d8eb605e1b7 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -30,7 +30,7 @@ class Plugin extends BasePlugin { /** * {@inheritdoc} */ - public static function getSubscribedEvents() { + public static function getSubscribedEvents(): array { return array( ScriptEvents::POST_CREATE_PROJECT_CMD => 'updateScripts', ScriptEvents::POST_INSTALL_CMD => 'updateScripts',