@@ -966,7 +966,7 @@ |
||
966 | 966 | } |
967 | 967 | /** |
968 | 968 | * @param ResourceSet $resourceSet The entity set containing the entity to fetch |
969 | - * @param object $sourceEntityInstance The source entity instance |
|
969 | + * @param KeyDescriptor $sourceEntityInstance The source entity instance |
|
970 | 970 | * @param object $data The New data for the entity instance. |
971 | 971 | * |
972 | 972 | * returns object|null returns the newly created model if sucessful or null if model creation failed. |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public static function createArray($input_xml) |
24 | 24 | { |
25 | - if(!isset($input_xml) || 0 === strlen(trim($input_xml))){ |
|
25 | + if (!isset($input_xml) || 0 === strlen(trim($input_xml))) { |
|
26 | 26 | return []; |
27 | 27 | } |
28 | 28 | $xml = self::getXMLRoot(); |