[themes/warm] fix type annotations, fixes #865
This commit is contained in:
parent
818ea626ca
commit
c1344958d4
1 changed files with 2 additions and 2 deletions
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
class CustomUploadTheme extends UploadTheme
|
||||
{
|
||||
public function display_block(Page $page)
|
||||
public function display_block(Page $page): void
|
||||
{
|
||||
$page->add_block(new Block("Upload", $this->build_upload_block(), "head", 20));
|
||||
}
|
||||
|
||||
public function display_full(Page $page)
|
||||
public function display_full(Page $page): void
|
||||
{
|
||||
$page->add_block(new Block("Upload", "Disk nearly full, uploads disabled", "head", 20));
|
||||
}
|
||||
|
|
Reference in a new issue