Completed
Pull Request — master (#126)
by Christopher
03:36
created
src/POData/ObjectModel/ObjectModelSerializer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -430,7 +430,8 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/POData/Writers/Atom/AtomODataWriter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -570,7 +570,8 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/POData/Common/Url.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.