@@ -51,7 +51,7 @@ |
||
51 | 51 | { |
52 | 52 | $class = get_class($object); |
53 | 53 | |
54 | - if (! isset($this->resolvedCache[$class])) { |
|
54 | + if (!isset($this->resolvedCache[$class])) { |
|
55 | 55 | $this->resolvedCache[$class] = $this->resolveType($class); |
56 | 56 | } |
57 | 57 |
@@ -72,7 +72,7 @@ |
||
72 | 72 | protected function createIdentifierCollectionRelationship($object, RelationshipDefinition $definition): IdentifierCollectionRelationship |
73 | 73 | { |
74 | 74 | $idGetter = $definition->getIdentifierGetter(); |
75 | - $resourceType = $definition->getResourceType(); |
|
75 | + $resourceType = $definition->getResourceType(); |
|
76 | 76 | |
77 | 77 | $relationship = new IdentifierCollectionRelationship(); |
78 | 78 | $collection = $object->{$definition->getGetter()}(); |