Skip to content

Commit

Permalink
[BUGFIX] Use correct casts
Browse files Browse the repository at this point in the history
() must be used to avoid still notices
  • Loading branch information
georgringer authored Jun 7, 2024
1 parent 62ad2ce commit 9fce997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/ObjectSchemaBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ?? '');
Expand Down

0 comments on commit 9fce997

Please sign in to comment.