Completed
Branch master (aecdd1)
by
unknown
02:44
created
src/Document/Presenters/ElementPresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
     private function getLinkRepresentation($prefix = null, LinkInterface $link = null)
238 238
     {
239 239
         return $link === null ? null : $this->getUrlRepresentation(
240
-            $link->isTreatAsHref() === true ? $link->getSubHref() : $prefix . $link->getSubHref(),
240
+            $link->isTreatAsHref() === true ? $link->getSubHref() : $prefix.$link->getSubHref(),
241 241
             $link->getMeta()
242 242
         );
243 243
     }
Please login to merge, or discard this patch.
src/Schema/SchemaProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         }
86 86
 
87 87
         if ($this->selfSubUrl === null) {
88
-            $this->selfSubUrl = '/' . $this->resourceType;
88
+            $this->selfSubUrl = '/'.$this->resourceType;
89 89
         } else {
90 90
             $isOk =
91 91
                 is_string($this->selfSubUrl) === true &&
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function getSelfSubUrl($resource = null)
118 118
     {
119
-        return $resource === null ? $this->selfSubUrl : $this->selfSubUrl . '/' . $this->getId($resource);
119
+        return $resource === null ? $this->selfSubUrl : $this->selfSubUrl.'/'.$this->getId($resource);
120 120
     }
121 121
 
122 122
     /**
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      */
266 266
     protected function getRelationshipSelfUrl($resource, $name)
267 267
     {
268
-        $url = $this->getSelfSubUrl($resource) . '/' . DocumentInterface::KEYWORD_RELATIONSHIPS . '/' . $name;
268
+        $url = $this->getSelfSubUrl($resource).'/'.DocumentInterface::KEYWORD_RELATIONSHIPS.'/'.$name;
269 269
 
270 270
         return $url;
271 271
     }
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      */
279 279
     protected function getRelationshipRelatedUrl($resource, $name)
280 280
     {
281
-        $url = $this->getSelfSubUrl($resource) . '/' . $name;
281
+        $url = $this->getSelfSubUrl($resource).'/'.$name;
282 282
 
283 283
         return $url;
284 284
     }
Please login to merge, or discard this patch.
src/Contracts/Encoder/Parameters/EncodingParametersInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php namespace Neomerx\JsonApi\Contracts\Encoder;
2 2
 
3 3
     /**
4
- * Copyright 2015 [email protected] (www.neomerx.com)
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
4
+     * Copyright 2015 [email protected] (www.neomerx.com)
5
+     *
6
+     * Licensed under the Apache License, Version 2.0 (the "License");
7
+     * you may not use this file except in compliance with the License.
8
+     * You may obtain a copy of the License at
9
+     *
10
+     * http://www.apache.org/licenses/LICENSE-2.0
11
+     *
12
+     * Unless required by applicable law or agreed to in writing, software
13
+     * distributed under the License is distributed on an "AS IS" BASIS,
14
+     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+     * See the License for the specific language governing permissions and
16
+     * limitations under the License.
17
+     */
18 18
 
19 19
 /**
20 20
  * @package Neomerx\JsonApi
Please login to merge, or discard this patch.
src/Http/Query/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.