From e5e8f41ad5f35a35b809de9d6b650a0b354ee74b Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sat, 27 Oct 2018 11:23:31 +0200 Subject: [PATCH] TASK: Prevent php warning for stdClass constant --- Tests/Unit/Domain/Search/QueryFactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Unit/Domain/Search/QueryFactoryTest.php b/Tests/Unit/Domain/Search/QueryFactoryTest.php index 570d5f0..45b77a9 100644 --- a/Tests/Unit/Domain/Search/QueryFactoryTest.php +++ b/Tests/Unit/Domain/Search/QueryFactoryTest.php @@ -397,7 +397,7 @@ class QueryFactoryTest extends AbstractUnitTestCase $query = $this->subject->create($searchRequest); $this->assertInstanceOf( - stdClass, + 'stdClass', $query->toArray()['query']['match_all'], 'Empty search request does not create expected query.' );