mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°9167 Fix code style
This commit is contained in:
@@ -447,8 +447,6 @@ class iTopExtensionsMap
|
||||
return $aRes;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Mark the given extension as chosen
|
||||
* @param string $sExtensionCode The code of the extension (code without version number)
|
||||
|
||||
@@ -142,7 +142,8 @@ class iTopExtension
|
||||
return true;
|
||||
}
|
||||
|
||||
public function GetExtensionSourceLabel(): string {
|
||||
public function GetExtensionSourceLabel(): string
|
||||
{
|
||||
return match ($this->sSource) {
|
||||
iTopExtension::SOURCE_MANUAL => 'Local extensions folder',
|
||||
iTopExtension::SOURCE_REMOTE => (ITOP_APPLICATION == 'iTop') ? 'iTop Hub' : 'ITSM Designer',
|
||||
|
||||
Reference in New Issue
Block a user