mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Introduce type hinting in methods prototype (PHP >= 7.1)
This commit is contained in:
@@ -92,9 +92,9 @@ interface iUIBlock
|
||||
*
|
||||
* @param bool $bAbsoluteUrl
|
||||
*
|
||||
* @return array
|
||||
* @return string[]
|
||||
*/
|
||||
public function GetJsFilesUrlRecursively($bAbsoluteUrl = false);
|
||||
public function GetJsFilesUrlRecursively(bool $bAbsoluteUrl = false);
|
||||
|
||||
/**
|
||||
* Return an array of the CSS files URL necessary for the block and all its sub blocks.
|
||||
@@ -102,8 +102,8 @@ interface iUIBlock
|
||||
*
|
||||
* @param bool $bAbsoluteUrl
|
||||
*
|
||||
* @return array
|
||||
* @return string[]
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function GetCssFilesUrlRecursively($bAbsoluteUrl = false);
|
||||
public function GetCssFilesUrlRecursively(bool $bAbsoluteUrl = false);
|
||||
}
|
||||
Reference in New Issue
Block a user