From 9fce99760af1cdc603bffbd2e55d446c946996de Mon Sep 17 00:00:00 2001 From: Georg Ringer Date: Fri, 7 Jun 2024 08:41:29 +0200 Subject: [PATCH] [BUGFIX] Use correct casts () must be used to avoid still notices --- Classes/Service/ObjectSchemaBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Service/ObjectSchemaBuilder.php b/Classes/Service/ObjectSchemaBuilder.php index 9c92849a..1081b6dd 100644 --- a/Classes/Service/ObjectSchemaBuilder.php +++ b/Classes/Service/ObjectSchemaBuilder.php @@ -162,7 +162,7 @@ public function buildRelation(array $relationJsonConfiguration, DomainObject $do $relation->setName($relationJsonConfiguration['relationName'] ?? ''); $relation->setLazyLoading((bool)($relationJsonConfiguration['lazyLoading'] ?? false)); $relation->setNullable((bool)($relationJsonConfiguration['propertyIsNullable'] ?? false)); - $relation->setExcludeField((bool)$relationJsonConfiguration['excludeField'] ?? false); + $relation->setExcludeField((bool)($relationJsonConfiguration['excludeField'] ?? false)); $relation->setDescription($relationJsonConfiguration['relationDescription'] ?? ''); $relation->setUniqueIdentifier($relationJsonConfiguration['uid'] ?? ''); $relation->setType($relationJsonConfiguration['type'] ?? '');