mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°3526 - Clean up pass on UIBlocks
- Move UIBlock::ENUM_BLOCK_FILES_TYPE_XXX to iUIBlock - Add PHPDoc - Remove Object return type hint on overloadable methods - Add scalar return type hint - Add type hint on parameters
This commit is contained in:
@@ -68,7 +68,7 @@ class CollapsibleSection extends UIContentBlock
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function IsOpenedByDefault()
|
||||
public function IsOpenedByDefault(): bool
|
||||
{
|
||||
return $this->bIsOpenedByDefault;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ class CollapsibleSection extends UIContentBlock
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function GetTitle()
|
||||
public function GetTitle(): string
|
||||
{
|
||||
return $this->sTitle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user