Skip to content

Commit

Permalink
FIX: Code Syntax - ApplicationBrandingController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 19, 2023
1 parent 1c78134 commit b646bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/ApplicationBrandingHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('
<a href="%s" class="channels-link" title="'. t('Opens in a new window') .'" rel="noopener noreferrer" target="_blank">
<a href="%s" class="channels-link" title="' . t('Opens in a new window') . '" rel="noopener noreferrer" target="_blank">
<div class="icon-wrapper wrapper-docs">
<svg version="1.0" width="20px" height="20px" class="kanboard-icon" fill="currentColor" viewBox="0 0 144 144" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0.000000,144.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none">
Expand Down

0 comments on commit b646bad

Please sign in to comment.