From 409caa73da3864bea799f82ee59a25bf17a2069d Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 20 Dec 2018 15:33:10 +0100 Subject: [PATCH] Bug fix and code style --- ahoy.yml | 2 +- src/Plugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ahoy.yml b/ahoy.yml index 8fc1be5..d0f9fbc 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 3b1c1fb..20d88cd 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', -- GitLab