Completed
Branch master (9dd8d4)
by
unknown
12:41
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   +3 added lines, -3 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 &&
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function getSelfSubLink($resource)
126 126
     {
127
-        return new Link($this->selfSubUrl . $this->getId($resource));
127
+        return new Link($this->selfSubUrl.$this->getId($resource));
128 128
     }
129 129
 
130 130
     /**
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         $links = $this->getValue($description, self::LINKS, []);
251 251
         if ($isShowSelf === true && isset($links[LinkInterface::SELF]) === false) {
252 252
             $links[LinkInterface::SELF] = $this->factory->createLink(
253
-                DocumentInterface::KEYWORD_RELATIONSHIPS. '/'.$relationshipName
253
+                DocumentInterface::KEYWORD_RELATIONSHIPS.'/'.$relationshipName
254 254
             );
255 255
         }
256 256
         if ($isShowRelated === true && isset($links[LinkInterface::RELATED]) === false) {
Please login to merge, or discard this patch.