Completed
Branch master (85eed3)
by
unknown
02:32
created
src/Exceptions/ErrorCollection.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
      */
378 378
     protected function getPathToData()
379 379
     {
380
-        return '/' . DocumentInterface::KEYWORD_DATA;
380
+        return '/'.DocumentInterface::KEYWORD_DATA;
381 381
     }
382 382
 
383 383
     /**
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
      */
386 386
     protected function getPathToType()
387 387
     {
388
-        return $this->getPathToData() . '/' . DocumentInterface::KEYWORD_TYPE;
388
+        return $this->getPathToData().'/'.DocumentInterface::KEYWORD_TYPE;
389 389
     }
390 390
 
391 391
     /**
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
      */
394 394
     protected function getPathToId()
395 395
     {
396
-        return $this->getPathToData() . '/' . DocumentInterface::KEYWORD_ID;
396
+        return $this->getPathToData().'/'.DocumentInterface::KEYWORD_ID;
397 397
     }
398 398
 
399 399
     /**
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
      */
404 404
     protected function getPathToAttribute($name)
405 405
     {
406
-        return $this->getPathToData() . '/' . DocumentInterface::KEYWORD_ATTRIBUTES . '/' . $name;
406
+        return $this->getPathToData().'/'.DocumentInterface::KEYWORD_ATTRIBUTES.'/'.$name;
407 407
     }
408 408
 
409 409
     /**
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
      */
414 414
     protected function getPathToRelationship($name)
415 415
     {
416
-        return $this->getPathToData() . '/' . DocumentInterface::KEYWORD_RELATIONSHIPS . '/' . $name;
416
+        return $this->getPathToData().'/'.DocumentInterface::KEYWORD_RELATIONSHIPS.'/'.$name;
417 417
     }
418 418
 
419 419
     /**
@@ -423,8 +423,8 @@  discard block
 block discarded – undo
423 423
      */
424 424
     protected function getPathToRelationshipType($name)
425 425
     {
426
-        return $this->getPathToRelationship($name) . '/' .
427
-            DocumentInterface::KEYWORD_DATA . '/' . DocumentInterface::KEYWORD_TYPE;
426
+        return $this->getPathToRelationship($name).'/'.
427
+            DocumentInterface::KEYWORD_DATA.'/'.DocumentInterface::KEYWORD_TYPE;
428 428
     }
429 429
 
430 430
     /**
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
      */
435 435
     protected function getPathToRelationshipId($name)
436 436
     {
437
-        return $this->getPathToRelationship($name) . '/' .
438
-            DocumentInterface::KEYWORD_DATA . '/' . DocumentInterface::KEYWORD_ID;
437
+        return $this->getPathToRelationship($name).'/'.
438
+            DocumentInterface::KEYWORD_DATA.'/'.DocumentInterface::KEYWORD_ID;
439 439
     }
440 440
 }
Please login to merge, or discard this patch.
src/Http/Parameters/RestrictiveQueryChecker.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,7 @@
 block discarded – undo
149 149
      */
150 150
     protected function checkUnrecognized(ParametersInterface $parameters)
151 151
     {
152
-        $this->allowUnrecognized === true || empty($parameters->getUnrecognizedParameters()) === true ?:
153
-            E::throwException(new E([], E::HTTP_CODE_BAD_REQUEST));
152
+        $this->allowUnrecognized === true || empty($parameters->getUnrecognizedParameters()) === true ?: E::throwException(new E([], E::HTTP_CODE_BAD_REQUEST));
154 153
     }
155 154
 
156 155
     /**
Please login to merge, or discard this patch.
src/Http/Responses.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     {
150 150
         $resSubUrl = $this->getSchemaContainer()->getSchema($resource)->getSelfSubLink($resource)->getSubHref();
151 151
         $urlPrefix = $this->getUrlPrefix();
152
-        $location  = $urlPrefix . $resSubUrl;
152
+        $location  = $urlPrefix.$resSubUrl;
153 153
 
154 154
         return $location;
155 155
     }
@@ -171,14 +171,14 @@  discard block
 block discarded – undo
171 171
         if (isset($params[MediaTypeInterface::PARAM_EXT])) {
172 172
             $ext = $params[MediaTypeInterface::PARAM_EXT];
173 173
             if (empty($ext) === false) {
174
-                $contentType .= $separator . MediaTypeInterface::PARAM_EXT . '="' . $ext . '"';
174
+                $contentType .= $separator.MediaTypeInterface::PARAM_EXT.'="'.$ext.'"';
175 175
                 $separator = ',';
176 176
             }
177 177
         }
178 178
 
179 179
         $extensions = $this->getSupportedExtensions();
180 180
         if ($extensions !== null && ($list = $extensions->getExtensions()) !== null && empty($list) === false) {
181
-            $contentType .= $separator . MediaTypeInterface::PARAM_SUPPORTED_EXT . '="' . $list . '"';
181
+            $contentType .= $separator.MediaTypeInterface::PARAM_SUPPORTED_EXT.'="'.$list.'"';
182 182
         }
183 183
 
184 184
         $headers[self::HEADER_CONTENT_TYPE] = $contentType;
Please login to merge, or discard this patch.