Completed
Branch master (5365a5)
by Neomerx
10:33 queued 01:01
created
src/Parameters/Headers/MediaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $this->type       = $type;
74 74
         $this->subType    = $subType;
75
-        $this->mediaType  = $type . '/' . $subType;
75
+        $this->mediaType  = $type.'/'.$subType;
76 76
         $this->parameters = $parameters;
77 77
     }
78 78
 
Please login to merge, or discard this patch.
src/Parameters/RestrictiveQueryChecker.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,8 +157,7 @@
 block discarded – undo
157 157
      */
158 158
     protected function checkUnrecognized(ParametersInterface $parameters)
159 159
     {
160
-        $this->allowUnrecognized === true || empty($parameters->getUnrecognizedParameters()) === true ?:
161
-            $this->exceptionThrower->throwBadRequest();
160
+        $this->allowUnrecognized === true || empty($parameters->getUnrecognizedParameters()) === true ?: $this->exceptionThrower->throwBadRequest();
162 161
     }
163 162
 
164 163
     /**
Please login to merge, or discard this patch.
src/Responses/Responses.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,13 +119,12 @@
 block discarded – undo
119 119
         if (isset($params[MediaTypeInterface::PARAM_EXT])) {
120 120
             $ext = $params[MediaTypeInterface::PARAM_EXT];
121 121
             if (empty($ext) === false) {
122
-                $contentType .= $separator . MediaTypeInterface::PARAM_EXT . '="' . $ext . '"';
122
+                $contentType .= $separator.MediaTypeInterface::PARAM_EXT.'="'.$ext.'"';
123 123
                 $separator = ',';
124 124
             }
125 125
         }
126 126
 
127
-        empty($supExt) === true ?:
128
-            $contentType .= $separator . MediaTypeInterface::PARAM_SUPPORTED_EXT . '="' . $supExt . '"';
127
+        empty($supExt) === true ?: $contentType .= $separator.MediaTypeInterface::PARAM_SUPPORTED_EXT.'="'.$supExt.'"';
129 128
 
130 129
         return $contentType;
131 130
     }
Please login to merge, or discard this patch.
src/Schema/SchemaProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public function getSelfSubLink($resource)
113 113
     {
114
-        return new Link($this->selfSubUrl . $this->getId($resource));
114
+        return new Link($this->selfSubUrl.$this->getId($resource));
115 115
     }
116 116
 
117 117
     /**
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
         $links = $this->getValue($description, self::LINKS, []);
238 238
         if ($isShowSelf === true && isset($links[LinkInterface::SELF]) === false) {
239 239
             $links[LinkInterface::SELF] = $this->factory->createLink(
240
-                DocumentInterface::KEYWORD_RELATIONSHIPS. '/'.$relationshipName
240
+                DocumentInterface::KEYWORD_RELATIONSHIPS.'/'.$relationshipName
241 241
             );
242 242
         }
243 243
         if ($isShowRelated === true && isset($links[LinkInterface::RELATED]) === false) {
Please login to merge, or discard this patch.