diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index cf30ccb37a91..03b3aa164179 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -440,7 +440,7 @@ public function assertSeeText($value, $escape = true) if (is_array($value)) { $values = $escape ? array_map('e', ($value)) : $value; - tap(strip_tags($this->getContent()), function($content) use($values) { + tap(strip_tags($this->getContent()), function ($content) use ($values) { foreach ($values as $value) { PHPUnit::assertStringContainsString((string) $value, $content); } @@ -506,7 +506,7 @@ public function assertDontSeeText($value, $escape = true) if (is_array($value)) { $values = $escape ? array_map('e', ($value)) : $value; - tap(strip_tags($this->getContent()), function($content) use($values) { + tap(strip_tags($this->getContent()), function ($content) use ($values) { foreach ($values as $value) { PHPUnit::assertStringNotContainsString((string) $value, $content); }