1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/16955] Clean up installer classes for psalm

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:42:23 +01:00
parent d9c179f9ef
commit 40e8a737c3
22 changed files with 54 additions and 42 deletions

View File

@@ -82,7 +82,7 @@ class ajax_iohandler extends iohandler_base
protected $redirect_url;
/**
* @var resource
* @var resource|closed-resource
*/
protected $file_lock_pointer;
@@ -235,7 +235,9 @@ class ajax_iohandler extends iohandler_base
'form_install' => 'installer_form.html',
));
return $this->template->assign_display('form_install');
$compiled_template = $this->template->assign_display('form_install');
return is_string($compiled_template) ? $compiled_template : '';
}
/**