Completed
Push — develop ( de7f4b...5c2193 )
by Neomerx
09:05
created
src/Package/FluteSettings.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,10 +111,10 @@
 block discarded – undo
111 111
         );
112 112
         assert(empty($jsonQueryValFileMask) === false, "Invalid Query Validators file mask `$jsonQueryValFileMask`.");
113 113
 
114
-        $schemesPath         = $schemesFolder . DIRECTORY_SEPARATOR . $schemesFileMask;
115
-        $jsonDataValPath     = $jsonDataValFolder . DIRECTORY_SEPARATOR . $jsonDataValFileMask;
116
-        $formsValidatorsPath = $formsValFolder . DIRECTORY_SEPARATOR . $formsValFileMask;
117
-        $jsonQueryValPath    = $jsonQueryValFolder . DIRECTORY_SEPARATOR . $jsonQueryValFileMask;
114
+        $schemesPath         = $schemesFolder.DIRECTORY_SEPARATOR.$schemesFileMask;
115
+        $jsonDataValPath     = $jsonDataValFolder.DIRECTORY_SEPARATOR.$jsonDataValFileMask;
116
+        $formsValidatorsPath = $formsValFolder.DIRECTORY_SEPARATOR.$formsValFileMask;
117
+        $jsonQueryValPath    = $jsonQueryValFolder.DIRECTORY_SEPARATOR.$jsonQueryValFileMask;
118 118
 
119 119
         $requireUniqueTypes = $defaults[static::KEY_SCHEMAS_REQUIRE_UNIQUE_TYPES] ?? true;
120 120
 
Please login to merge, or discard this patch.
src/Schema/Schema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,12 +212,12 @@
 block discarded – undo
212 212
             return [static::DATA => $data->getData()];
213 213
         }
214 214
 
215
-        $buildUrl = function ($offset) use ($data, $uri) {
215
+        $buildUrl = function($offset) use ($data, $uri) {
216 216
             $paramsWithPaging = [
217 217
                 JsonApiQueryValidatingParserInterface::PARAM_PAGING_OFFSET => $offset,
218 218
                 JsonApiQueryValidatingParserInterface::PARAM_PAGING_LIMIT  => $data->getLimit(),
219 219
             ];
220
-            $fullUrl          = $uri . '?' . http_build_query($paramsWithPaging);
220
+            $fullUrl = $uri.'?'.http_build_query($paramsWithPaging);
221 221
 
222 222
             return $fullUrl;
223 223
         };
Please login to merge, or discard this patch.
src/Http/Traits/DefaultControllerMethodsTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
      * @param FactoryInterface                     $errorFactory
270 270
      * @param FormatterFactoryInterface            $formatterFactory
271 271
      *
272
-     * @return ResponseInterface
272
+     * @return string
273 273
      */
274 274
     protected static function defaultCreate(
275 275
         string $requestBody,
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -792,7 +792,7 @@  discard block
 block discarded – undo
792 792
      */
793 793
     private static function assertClassValueDefined(?string $value): void
794 794
     {
795
-        assert(empty($value) === false, 'Value should be defined in `' . static::class . '`.');
795
+        assert(empty($value) === false, 'Value should be defined in `'.static::class.'`.');
796 796
     }
797 797
 
798 798
     /**
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
     {
806 806
         assert(
807 807
             array_key_exists($interface, class_implements($class)) === true,
808
-            "Class `$class` should implement `" . $interface . '` interface.'
808
+            "Class `$class` should implement `".$interface.'` interface.'
809 809
         );
810 810
     }
811 811
 }
Please login to merge, or discard this patch.
src/Http/BaseController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
         static::assertClassValueDefined(static::SCHEMA_CLASS);
209 209
 
210 210
         $api     = static::defaultCreateApi($container, static::API_CLASS);
211
-        $handler = function () use ($api, $index, $modelRelName) {
211
+        $handler = function() use ($api, $index, $modelRelName) {
212 212
             return $api->readRelationship($index, $modelRelName);
213 213
         };
214 214
 
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         static::assertClassValueDefined(static::SCHEMA_CLASS);
249 249
 
250 250
         $api     = static::defaultCreateApi($container, static::API_CLASS);
251
-        $handler = function () use ($api, $index, $modelRelName) {
251
+        $handler = function() use ($api, $index, $modelRelName) {
252 252
             return $api->readRelationship($index, $modelRelName);
253 253
         };
254 254
 
Please login to merge, or discard this patch.