From eb02597d645b92679f47b94b71bf450268cb5a93 Mon Sep 17 00:00:00 2001 From: Wouter van der Loop | Toppy <40226924+wouter-toppy@users.noreply.github.com> Date: Thu, 8 Dec 2022 11:04:33 +0100 Subject: [PATCH] Fix Command for Refs: #280 --- Command/NotifyDeploymentCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Command/NotifyDeploymentCommand.php b/Command/NotifyDeploymentCommand.php index d6e5ab7..4c5e1ed 100644 --- a/Command/NotifyDeploymentCommand.php +++ b/Command/NotifyDeploymentCommand.php @@ -25,8 +25,6 @@ class NotifyDeploymentCommand extends Command public const EXIT_UNAUTHORIZED = 2; public const EXIT_HTTP_ERROR = 3; - protected static $defaultName = 'newrelic:notify-deployment'; - private $newrelic; public function __construct(Config $newrelic) @@ -39,6 +37,7 @@ public function __construct(Config $newrelic) protected function configure(): void { $this + ->setName('newrelic:notify-deployment') ->setDefinition([ new InputOption( 'user', null, InputOption::VALUE_OPTIONAL,