Skip to content

Commit f3721d9

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-72863' into PANDA-FIXES-2.3
2 parents 0f778c7 + 9d3ed22 commit f3721d9

File tree

1 file changed

+4
-2
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogSearch/Model/Indexer

1 file changed

+4
-2
lines changed

dev/tests/integration/testsuite/Magento/CatalogSearch/Model/Indexer/FulltextTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\CatalogSearch\Model\Indexer;
79

810
use Magento\Catalog\Model\Product;
@@ -183,7 +185,7 @@ public function testReindexRowAfterDelete()
183185
* @param string $text
184186
* @return Product[]
185187
*/
186-
protected function search($text)
188+
protected function search($text): array
187189
{
188190
$query = $this->queryFactory->get();
189191
$query->unsetData();
@@ -209,7 +211,7 @@ protected function search($text)
209211
* @param string $sku
210212
* @return Product
211213
*/
212-
protected function getProductBySku($sku)
214+
protected function getProductBySku($sku): Product
213215
{
214216
/** @var Product $product */
215217
$product = Bootstrap::getObjectManager()->get(

0 commit comments

Comments
 (0)