diff options
Diffstat (limited to 'Tests/Http/Session/SessionAuthenticationStrategyTest.php')
-rw-r--r-- | Tests/Http/Session/SessionAuthenticationStrategyTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Http/Session/SessionAuthenticationStrategyTest.php b/Tests/Http/Session/SessionAuthenticationStrategyTest.php index 896d6ad..43c52b5 100644 --- a/Tests/Http/Session/SessionAuthenticationStrategyTest.php +++ b/Tests/Http/Session/SessionAuthenticationStrategyTest.php @@ -66,7 +66,7 @@ class SessionAuthenticationStrategyTest extends \PHPUnit_Framework_TestCase { $request = $this->getMock('Symfony\Component\HttpFoundation\Request'); - if (!is_null($session)) { + if (null !== $session) { $request->expects($this->any())->method('getSession')->will($this->returnValue($session)); } |