diff --git a/tests/TemplatingControllerTest.php b/tests/TemplatingControllerTest.php index a36bbdd..332ce5b 100644 --- a/tests/TemplatingControllerTest.php +++ b/tests/TemplatingControllerTest.php @@ -28,8 +28,7 @@ final class TemplatingControllerTest extends TestCase public function testCanBeCreated() { $this->assertInstanceOf( - // ::class, // 5.4 < php - 'SymfonyUtil\Controller\TemplatingController', + TemplatingController::class, // 5.4 < php new TemplatingController(new TwigEngine( new Twig_Environment(new Twig_Loader_Array(['index.html.twig' => 'Hello World!'])), new TemplateNameParser()