@@ -892,6 +892,9 @@ |
||
892 | 892 | return [$odataPropertyContent, $navigationProperties]; |
893 | 893 | } |
894 | 894 | |
895 | + /** |
|
896 | + * @param ResourcePropertyKind $resourceKind |
|
897 | + */ |
|
895 | 898 | public static function isMatchPrimitive($resourceKind) |
896 | 899 | { |
897 | 900 | if (16 > $resourceKind) { |
@@ -804,7 +804,7 @@ |
||
804 | 804 | |
805 | 805 | /** |
806 | 806 | * @param ResourceSet $resourceSet The entity set containing the entity to fetch |
807 | - * @param object $sourceEntityInstance The source entity instance |
|
807 | + * @param KeyDescriptor $sourceEntityInstance The source entity instance |
|
808 | 808 | * @param object $data The New data for the entity instance. |
809 | 809 | * |
810 | 810 | * returns object|null returns the newly created model if sucessful or null if model creation failed. |
@@ -506,7 +506,7 @@ |
||
506 | 506 | if($resourcePropertyKind == ResourcePropertyKind::RESOURCESET_REFERENCE){ |
507 | 507 | |
508 | 508 | $this->metadataManager->addNavigationPropertyToEntityType($this->OdataEntityMap[$resourceType],"*",$name,$targetResourceType,"*"); |
509 | - }else{ |
|
509 | + } else{ |
|
510 | 510 | $this->metadataManager->addNavigationPropertyToEntityType($this->OdataEntityMap[$resourceType],"0..1",$name,$this->OdataEntityMap[$targetResourceType],"0..1"); |
511 | 511 | } |
512 | 512 | $this->associationSets[$setKey] = $set; |