@@ -145,7 +145,7 @@ |
||
145 | 145 | * |
146 | 146 | * @return object|null The new resource value if it is assignable or throw exception for null. |
147 | 147 | */ |
148 | - public function updateResource(ResourceSet $sourceResourceSet,$sourceEntityInstance, KeyDescriptor $keyDescriptor,$data, $shouldUpdate = false); |
|
148 | + public function updateResource(ResourceSet $sourceResourceSet, $sourceEntityInstance, KeyDescriptor $keyDescriptor, $data, $shouldUpdate = false); |
|
149 | 149 | |
150 | 150 | /* |
151 | 151 | * Delete resource from a resource set. |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | throw new \Exception(); |
31 | 31 | } |
32 | 32 | } catch (\Exception $ex) { |
33 | - throw new \Exception('[XML2Array] Error parsing the XML string.'.PHP_EOL.$ex->getMessage()); |
|
33 | + throw new \Exception('[XML2Array] Error parsing the XML string.' . PHP_EOL . $ex->getMessage()); |
|
34 | 34 | } |
35 | 35 | } elseif (is_object($input_xml)) { |
36 | 36 | if (get_class($input_xml) != 'DOMDocument') { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | throw new \Exception('[XML2Array] Invalid input'); |
42 | 42 | } |
43 | 43 | $array[$xml->documentElement->tagName] = self::convert($xml->documentElement); |
44 | - self::$xml = null; // clear the xml node in the class for 2nd time use. |
|
44 | + self::$xml = null; // clear the xml node in the class for 2nd time use. |
|
45 | 45 | return $array; |
46 | 46 | } |
47 | 47 | /** |
@@ -57,7 +57,7 @@ |
||
57 | 57 | resourceProperty, |
58 | 58 | skipTokenParser, |
59 | 59 | expandProjectionParser, |
60 | - IService,navigation, |
|
60 | + IService, navigation, |
|
61 | 61 | queryProvider, |
62 | 62 | resourceSet, |
63 | 63 | streamProviderWrapper, |