From 48d06e4eaec8495b844a23e1f789337990d5360f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pel=C3=AD=C5=A1ek?= Date: Wed, 4 Nov 2020 21:52:37 +0100 Subject: [PATCH] codestyle --- tests/Unit/Tokenizer/TokenContainerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Tokenizer/TokenContainerTest.php b/tests/Unit/Tokenizer/TokenContainerTest.php index 1839fa1d0..58d1a63e0 100644 --- a/tests/Unit/Tokenizer/TokenContainerTest.php +++ b/tests/Unit/Tokenizer/TokenContainerTest.php @@ -22,7 +22,7 @@ public function testSimple() : void self::assertSame($tokenizer->peekNext()->getType(), TokenType::SQU_C); self::assertSame($tokenizer->getNext()->getType(), TokenType::SQU_C); self::assertSame($tokenizer->getPrev()->getType(), TokenType::SQU_O); - self::assertSame($tokenizer->assertNext(TokenType::SQU_C, \Exception::class)->getType(), TokenType::SQU_C); + self::assertSame($tokenizer->assertNext(TokenType::SQU_C, \RuntimeException::class)->getType(), TokenType::SQU_C); } public function testIterator() : void