mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/16955] Fix phpdoc annotations and return types
PHPBB3-16955
This commit is contained in:
@@ -110,7 +110,7 @@ class phpbb_template_template_test_case extends phpbb_test_case
|
||||
'autoescape' => false,
|
||||
)
|
||||
);
|
||||
$this->template = new phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $twig, $this->user)));
|
||||
$this->template = new phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $twig, $lang)));
|
||||
$twig->setLexer(new \phpbb\template\twig\lexer($twig));
|
||||
$this->template->set_custom_style('tests', $this->template_path);
|
||||
}
|
||||
|
@@ -15,6 +15,16 @@ require_once __DIR__ . '/../../test_framework/phpbb_database_test_case.php';
|
||||
|
||||
class phpbb_textformatter_s9e_factory_test extends phpbb_database_test_case
|
||||
{
|
||||
/**
|
||||
* @var phpbb_mock_cache
|
||||
*/
|
||||
private $cache;
|
||||
|
||||
/**
|
||||
* @var phpbb_mock_event_dispatcher
|
||||
*/
|
||||
private $dispatcher;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->cache = new phpbb_mock_cache;
|
||||
|
Reference in New Issue
Block a user