From 6f5de73896386b400e69592e1cd6d325c3c796b9 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 23 Aug 2024 16:27:25 +0200
Subject: [PATCH] fix parsed php problems

---
 .../deployment/plugins/rollout/ssh/rollout_ssh.php    | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/public_html/deployment/plugins/rollout/ssh/rollout_ssh.php b/public_html/deployment/plugins/rollout/ssh/rollout_ssh.php
index 012fe813..8ebac30a 100644
--- a/public_html/deployment/plugins/rollout/ssh/rollout_ssh.php
+++ b/public_html/deployment/plugins/rollout/ssh/rollout_ssh.php
@@ -12,18 +12,19 @@ class rollout_ssh extends rollout_base {
 
     /**
      * check requirements if the plugin could work
+     * @return array
      */
-    public function checkRequirements() {
-        // no specific checks needed ... always true
-        return true;
+    public function checkRequirements(): array {
+        // no specific checks needed ... always empty
+        return [];
     }
 
     /**
      * check access to a deploy target
      */
     public function checkConnectionToTarget() {
-        // do nothing ... always true
-        return true;
+        // do nothing ... always empty
+        return [];
     }
 
     /**
-- 
GitLab