Skip to content

Commit 8a1284a

Browse files
committed
fix(hydra): owl:maxCardinality should be an int
1 parent 1cc114b commit 8a1284a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hydra/Serializer/DocumentationNormalizer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ private function getProperty(ApiProperty $propertyMetadata, string $propertyName
527527
}
528528

529529
if ($this->isSingleRelation($propertyMetadata)) {
530-
$property['owl:maxCardinality'] = true;
530+
$property['owl:maxCardinality'] = 1;
531531
}
532532

533533
return $property;

0 commit comments

Comments
 (0)