mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
N°3785 - Use DownloadPage to download documents
This commit is contained in:
@@ -202,9 +202,9 @@ class WebPage implements Page
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function add($s_html): ?iUIBlock
|
||||
public function add($s_html)
|
||||
{
|
||||
return $this->oContentLayout->AddHtml($s_html);
|
||||
$this->oContentLayout->AddHtml($s_html);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1172,7 +1172,7 @@ class WebPage implements Page
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function SetContentType($sContentType)
|
||||
public function SetContentType(string $sContentType)
|
||||
{
|
||||
$this->sContentType = $sContentType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user