From f2dbe328fa188d23ff6a320dd53cb3c6bc4b2abc Mon Sep 17 00:00:00 2001 From: Maximilian Berghoff Date: Sun, 13 Jan 2019 12:32:35 +0100 Subject: [PATCH] Always pass a string as third argument (#189) (#190) The type hint is string. --- src/Functional/BaseTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functional/BaseTestCase.php b/src/Functional/BaseTestCase.php index 722457c..ea163af 100644 --- a/src/Functional/BaseTestCase.php +++ b/src/Functional/BaseTestCase.php @@ -195,6 +195,6 @@ protected function assertResponseSuccess(Response $response) $exception = $result->item(0)->nodeValue; } - $this->assertEquals(200, $response->getStatusCode(), $exception ? 'Exception: "'.$exception.'"' : null); + $this->assertEquals(200, $response->getStatusCode(), $exception ? 'Exception: "'.$exception.'"' : ''); } }