From 47377dcf4f5c067cfbfe1ffcc7d4763202cfd53f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 16 Sep 2016 12:05:42 -0700 Subject: [PATCH] fix syntax --- .../Foundation/Testing/Concerns/InteractsWithPages.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php index d335493b692c..011402625d13 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php @@ -634,8 +634,7 @@ protected function storeInput($element, $text) { $this->assertFilterProducesResults($element); - $element = str_replace('#', '', $element); - $element = str_replace('[]', '', $element); + $element = str_replace(['#', '[]'], '', $element); $this->inputs[$element] = $text;