Completed
Push — develop ( d029a9...697864 )
by Neomerx
05:58 queued 04:18
created
src/Schema/Schema.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -235,14 +235,14 @@  discard block
 block discarded – undo
235 235
         // if we are here then relationship contains paginated data, so we have to add pagination links
236 236
         $offset    = $relationshipData->getOffset();
237 237
         $limit     = $relationshipData->getLimit();
238
-        $urlPrefix = $this->getRelationshipSelfSubUrl($model, $jsonRelName) . '?';
239
-        $buildLink = function (int $offset, int $limit) use ($urlPrefix) : LinkInterface {
238
+        $urlPrefix = $this->getRelationshipSelfSubUrl($model, $jsonRelName).'?';
239
+        $buildLink = function(int $offset, int $limit) use ($urlPrefix) : LinkInterface {
240 240
             $paramsWithPaging = [
241 241
                 JsonApiQueryParserInterface::PARAM_PAGING_OFFSET => $offset,
242 242
                 JsonApiQueryParserInterface::PARAM_PAGING_LIMIT  => $limit,
243 243
             ];
244 244
 
245
-            $subUrl = $urlPrefix . http_build_query($paramsWithPaging);
245
+            $subUrl = $urlPrefix.http_build_query($paramsWithPaging);
246 246
 
247 247
             return $this->getFactory()->createLink(true, $subUrl, false);
248 248
         };
@@ -341,6 +341,6 @@  discard block
 block discarded – undo
341 341
      */
342 342
     private function getRelationshipSelfSubUrl(ModelInterface $model, string $jsonRelName): string
343 343
     {
344
-        return $this->getSelfSubUrl($model) . '/relationships/' . $jsonRelName;
344
+        return $this->getSelfSubUrl($model).'/relationships/'.$jsonRelName;
345 345
     }
346 346
 }
Please login to merge, or discard this patch.