Completed
Branch master (e6140f)
by
unknown
07:43
created
src/Document/Link.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     public function getHref(string $prefix = null): string
94 94
     {
95
-        return $this->isTreatAsHref() === true ? $this->getSubHref() : $prefix . $this->getSubHref();
95
+        return $this->isTreatAsHref() === true ? $this->getSubHref() : $prefix.$this->getSubHref();
96 96
     }
97 97
 
98 98
     /**
Please login to merge, or discard this patch.
src/Http/Headers/AcceptMediaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public static function getCompare(): Closure
89 89
     {
90
-        return function (AcceptMediaTypeInterface $lhs, AcceptMediaTypeInterface $rhs) {
90
+        return function(AcceptMediaTypeInterface $lhs, AcceptMediaTypeInterface $rhs) {
91 91
             $qualityCompare = self::compareQuality($lhs->getQuality(), $rhs->getQuality());
92 92
             if ($qualityCompare !== 0) {
93 93
                 return $qualityCompare;
Please login to merge, or discard this patch.
src/Http/Headers/MediaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     public function getMediaType(): string
98 98
     {
99 99
         if ($this->mediaType === null) {
100
-            $this->mediaType = $this->getType() . '/' . $this->getSubType();
100
+            $this->mediaType = $this->getType().'/'.$this->getSubType();
101 101
         }
102 102
 
103 103
         return $this->mediaType;
Please login to merge, or discard this patch.
src/Http/BaseResponses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     {
169 169
         $resSubUrl = $this->getSchemaContainer()->getSchema($resource)->getSelfSubLink($resource)->getSubHref();
170 170
         $urlPrefix = $this->getUrlPrefix();
171
-        $location  = $urlPrefix . $resSubUrl;
171
+        $location  = $urlPrefix.$resSubUrl;
172 172
 
173 173
         return $location;
174 174
     }
Please login to merge, or discard this patch.
src/Encoder/Parameters/ParametersAnalyzer.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         foreach ($includePaths as $curPath) {
111 111
             if ($pathLength === 0) {
112 112
                 $relationshipName = $this->getRelationshipNameForTopResource($curPath);
113
-            } elseif (strpos($curPath, $pathBeginning . DocumentInterface::PATH_SEPARATOR) === 0) {
113
+            } elseif (strpos($curPath, $pathBeginning.DocumentInterface::PATH_SEPARATOR) === 0) {
114 114
                 $relationshipName = $this->getRelationshipNameForResource($curPath, $pathLength);
115 115
             } else {
116 116
                 $relationshipName = null;
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
         if ($path !== null) {
168 168
             foreach ($paths as $targetPath) {
169
-                if (strpos($targetPath, $path . DocumentInterface::PATH_SEPARATOR) === 0) {
169
+                if (strpos($targetPath, $path.DocumentInterface::PATH_SEPARATOR) === 0) {
170 170
                     $hasMatch = true;
171 171
                     break;
172 172
                 }
@@ -221,8 +221,7 @@  discard block
 block discarded – undo
221 221
     {
222 222
         $nextSeparatorPos = strpos($curPath, DocumentInterface::PATH_SEPARATOR, $pathLength + 1);
223 223
         $relationshipName = $nextSeparatorPos === false ?
224
-            substr($curPath, $pathLength + 1) :
225
-            substr($curPath, $pathLength + 1, $nextSeparatorPos - $pathLength - 1);
224
+            substr($curPath, $pathLength + 1) : substr($curPath, $pathLength + 1, $nextSeparatorPos - $pathLength - 1);
226 225
 
227 226
         return $relationshipName;
228 227
     }
Please login to merge, or discard this patch.