From b646badc838bc637186f503de1efe04a0664f9d6 Mon Sep 17 00:00:00 2001 From: aljawaid <10233708+aljawaid@users.noreply.github.com> Date: Fri, 19 May 2023 23:13:18 +0100 Subject: [PATCH] FIX: Code Syntax - `ApplicationBrandingController.php` --- Helper/ApplicationBrandingHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Helper/ApplicationBrandingHelper.php b/Helper/ApplicationBrandingHelper.php index 4080cc7..a8b9280 100644 --- a/Helper/ApplicationBrandingHelper.php +++ b/Helper/ApplicationBrandingHelper.php @@ -13,13 +13,13 @@ public function getDocs($label, $file) if (substr(APP_VERSION, 0, 1) === 'v') { $version = substr(APP_VERSION, 1); - } else if (ctype_digit(substr(APP_VERSION, 0, 1))) { + } elseif (ctype_digit(substr(APP_VERSION, 0, 1))) { $version = APP_VERSION; } $url = sprintf(DOCUMENTATION_URL_PATTERN, $version, $file); return sprintf(' - +