mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
42 lines
645 B
PHP
42 lines
645 B
PHP
<?php
|
|
|
|
namespace Rector\Core\Tests\Issues\Issue1225\Fixture;
|
|
|
|
class Issue1225
|
|
{
|
|
/**
|
|
* @throws \Twig_Error_Loader
|
|
* @throws \Twig_Error_Runtime
|
|
* @throws \Twig_Error_Syntax
|
|
*/
|
|
public function render(): void
|
|
{
|
|
echo $this->twig->render(
|
|
// ...
|
|
);
|
|
}
|
|
}
|
|
|
|
?>
|
|
-----
|
|
<?php
|
|
|
|
namespace Rector\Core\Tests\Issues\Issue1225\Fixture;
|
|
|
|
class Issue1225
|
|
{
|
|
/**
|
|
* @throws \Twig\Error\LoaderError
|
|
* @throws \Twig\Error\RuntimeError
|
|
* @throws \Twig\Error\SyntaxError
|
|
*/
|
|
public function render(): void
|
|
{
|
|
echo $this->twig->render(
|
|
// ...
|
|
);
|
|
}
|
|
}
|
|
|
|
?>
|