Skip to content

Commit

Permalink
Merge pull request #720 from dunglas/fix_719
Browse files Browse the repository at this point in the history
Fix case in the hydra prefix. Closes #719 for v2.
  • Loading branch information
dunglas committed Sep 1, 2016
2 parents 06d8433 + 5162526 commit e81884a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hydra/Serializer/DocumentationNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private function getClasses(array $entrypointProperties, array $classes) : array

private function getProperty(PropertyMetadata $propertyMetadata, string $propertyName, string $prefixedShortName, string $shortName): array
{
$type = $propertyMetadata->isReadableLink() ? 'rdf:Property' : 'Hydra:Link';
$type = $propertyMetadata->isReadableLink() ? 'rdf:Property' : 'hydra:Link';
$property = [
'@type' => 'hydra:SupportedProperty',
'hydra:property' => [
Expand Down

0 comments on commit e81884a

Please sign in to comment.