diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Lexer/ContextTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Lexer/ContextTest.php b/tests/Lexer/ContextTest.php index d713059..7897684 100644 --- a/tests/Lexer/ContextTest.php +++ b/tests/Lexer/ContextTest.php @@ -31,7 +31,7 @@ class ContextTest extends TestCase public function testLoadClosest($context, $expected) { $this->assertEquals($expected, Context::loadClosest($context)); - if (! is_null($expected)) { + if ($expected !== null) { $this->assertEquals('\\PhpMyAdmin\\SqlParser\\Contexts\\Context' . $expected, Context::$loadedContext); $this->assertTrue(class_exists(Context::$loadedContext)); } |