@@ -3,7 +3,7 @@ |
||
| 3 | 3 | |
| 4 | 4 | class XML2Array |
| 5 | 5 | { |
| 6 | - /** |
|
| 6 | + /** |
|
| 7 | 7 | * @var string |
| 8 | 8 | */ |
| 9 | 9 | private static $encoding = 'UTF-8'; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use DOMDocument; |
| 5 | 5 | use ReflectionClass; |
| 6 | 6 | use ReflectionProperty; |
| 7 | -use POData\Readers\IODataReader; |
|
| 8 | 7 | |
| 9 | 8 | class AtomODataReader |
| 10 | 9 | { |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | 'default' => 'http://www.w3.org/2005/Atom', |
| 15 | 15 | 'd' => 'http://schemas.microsoft.com/ado/2007/08/dataservices', |
| 16 | 16 | 'm' => 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' |
| 17 | - ); |
|
| 17 | + ); |
|
| 18 | 18 | protected static $QUERY_ROOT_FEED = '/default:feed'; |
| 19 | 19 | protected static $QUERY_ROOT_ENTRY = '/default:entry'; |
| 20 | 20 | protected static $QUERY_TITLE = 'default:title'; |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | ($attributes['EdmType'] == 'Edm.Int16' || |
| 346 | 346 | $attributes['EdmType'] == 'Edm.Int32' || |
| 347 | 347 | $attributes['EdmType'] == 'Edm.Int64')))) { |
| 348 | - $value = '0'; |
|
| 348 | + $value = '0'; |
|
| 349 | 349 | } |
| 350 | 350 | } else { |
| 351 | 351 | $value = null; |