mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17490] Remove not needed returns
PHPBB-17490
This commit is contained in:
parent
d5717b541e
commit
e4c8984bf3
1 changed files with 2 additions and 5 deletions
|
@ -216,9 +216,9 @@ abstract class base implements messenger_interface
|
|||
* @param string $template_path Email template path
|
||||
* @param string $template_dir_prefix Email template directory prefix
|
||||
*
|
||||
* @return bool
|
||||
* @return void
|
||||
*/
|
||||
public function template(string $template_file, string $template_lang = '', string $template_path = '', string $template_dir_prefix = ''): bool
|
||||
public function template(string $template_file, string $template_lang = '', string $template_path = '', string $template_dir_prefix = ''): void
|
||||
{
|
||||
$template_dir_prefix = (!$template_dir_prefix || $template_dir_prefix[0] === '/') ? $template_dir_prefix : '/' . $template_dir_prefix;
|
||||
|
||||
|
@ -290,8 +290,6 @@ abstract class base implements messenger_interface
|
|||
$this->template->set_filenames([
|
||||
'body' => $template_file . '.txt',
|
||||
]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -487,6 +485,5 @@ abstract class base implements messenger_interface
|
|||
*/
|
||||
public function header(string $header_name, mixed $header_value): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue