From 05bcae0516dbb2fe3e5fdce91800adbd06f23f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Wed, 29 May 2024 08:18:43 +0200 Subject: [PATCH] NGSTACK-836: remove unnecessary type cast --- lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php b/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php index cf78fbe4..209747e4 100644 --- a/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php +++ b/lib/Core/Search/Solr/FieldMapper/ParentChildFieldMapper.php @@ -94,7 +94,7 @@ private function recursiveMapFields( bool $doIndex = true, ): array { $fieldsGrouped = [[]]; - $isIndexed = !isset($configuration['indexed']) || (bool) $configuration['indexed']; + $isIndexed = !isset($configuration['indexed']) || $configuration['indexed']; $childrenConfiguration = $configuration['children'] ?? []; if ($isIndexed && $doIndex) {