@@ -430,7 +430,8 @@ |
||
430 | 430 | $resourceTypeKind, |
431 | 431 | $navigationProperties |
432 | 432 | ); |
433 | - } else { //This is the code path to handle projected properties of Entry |
|
433 | + } else { |
|
434 | +//This is the code path to handle projected properties of Entry |
|
434 | 435 | list($odataPropertyContent, $navigationProperties) = $this->writeObjectPropertiesExpanded( |
435 | 436 | $customObject, |
436 | 437 | $resourceType, |
@@ -570,7 +570,8 @@ |
||
570 | 570 | ); |
571 | 571 | $this->writeProperties($content); |
572 | 572 | $this->xmlWriter->endElement(); |
573 | - } else { //probably just a primitive string |
|
573 | + } else { |
|
574 | +//probably just a primitive string |
|
574 | 575 | $this->xmlWriter->startElementNs( |
575 | 576 | ODataConstants::ODATA_NAMESPACE_PREFIX, |
576 | 577 | ODataConstants::COLLECTION_ELEMENT_NAME, |
@@ -28,7 +28,8 @@ |
||
28 | 28 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
29 | 29 | } |
30 | 30 | } else { |
31 | - if (!preg_match(self::REL_URL_REGEXP, $url)) { //TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
31 | + if (!preg_match(self::REL_URL_REGEXP, $url)) { |
|
32 | +//TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
32 | 33 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
33 | 34 | } |
34 | 35 | } |