Passed
Pull Request — master (#244)
by Alex
22:10
created
src/Serialisers/IronicSerialiser.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $targClass = $resourceType->getInstanceType()->getName();
131 131
         if (!($res instanceof $targClass)) {
132 132
             $msg = 'Object being serialised not instance of expected class, '
133
-                   . $targClass . ', is actually ' . $payloadClass;
133
+                    . $targClass . ', is actually ' . $payloadClass;
134 134
             throw new InvalidOperationException($msg);
135 135
         }
136 136
 
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE() == $propKind
575 575
                   || ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind)) {
576 576
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
577
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
577
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
578 578
                 throw new InvalidOperationException($msg);
579 579
             }
580 580
             $propTail             = ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         $relativeUri = $this->getRequest()->getIdentifier();
224 224
         $absoluteUri = $this->getRequest()->getRequestUrl()->getUrlAsString();
225 225
 
226
-        $selfLink        = new ODataLink();
226
+        $selfLink = new ODataLink();
227 227
         $selfLink->setName('self');
228 228
         $selfLink->setTitle($relativeUri);
229 229
         $selfLink->setUrl($relativeUri);
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
             if ($shouldExpand) {
600 600
                 $this->expandNavigationProperty($entryObject, $prop, $nuLink, $propKind, $propName);
601 601
             }
602
-            $links[]            = $nuLink;
602
+            $links[] = $nuLink;
603 603
         }
604 604
         return $links;
605 605
     }
Please login to merge, or discard this patch.