Passed
Pull Request — master (#189)
by Alex
04:39
created
src/POData/Writers/ResponseWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             }
83 83
             $segments = $request->getSegments();
84 84
             $numSeg = count($segments);
85
-            if (1 < $numSeg && '$links' == $segments[$numSeg-2]->getIdentifier()) {
85
+            if (1 < $numSeg && '$links' == $segments[$numSeg - 2]->getIdentifier()) {
86 86
                 if (null !== $entityModel) {
87 87
                     throw new \Exception(Messages::modelPayloadOnLinkModification());
88 88
                 }
Please login to merge, or discard this patch.