From ab21d69903c4360cbce59741624b6e765e3bd35f Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Fri, 26 Jun 2020 14:54:51 +0200
Subject: Add return value to all commands

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 core/Command/Security/RemoveCertificate.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'core/Command/Security/RemoveCertificate.php')

diff --git a/core/Command/Security/RemoveCertificate.php b/core/Command/Security/RemoveCertificate.php
index 4aa97a61757..fd0b536f299 100644
--- a/core/Command/Security/RemoveCertificate.php
+++ b/core/Command/Security/RemoveCertificate.php
@@ -50,9 +50,10 @@ class RemoveCertificate extends Base {
 			);
 	}
 
-	protected function execute(InputInterface $input, OutputInterface $output) {
+	protected function execute(InputInterface $input, OutputInterface $output): int {
 		$name = $input->getArgument('name');
 
 		$this->certificateManager->removeCertificate($name);
+		return 0;
 	}
 }
-- 
cgit v1.2.3