Completed
Push — master ( 1c21c5...279fbd )
by Pieter
16s queued 11s
created
src/Apie.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,6 @@  discard block
 block discarded – undo
95 95
     private $chainableFormatRetriever;
96 96
 
97 97
     /**
98
-
99 98
      * @param object[] $plugins
100 99
      * @param bool $debug
101 100
      * @param string|null $cacheFolder
@@ -343,7 +342,7 @@  discard block
 block discarded – undo
343 342
         return $document;
344 343
     }
345 344
 
346
-     public function getObjectAccess(): ObjectAccessInterface
345
+        public function getObjectAccess(): ObjectAccessInterface
347 346
     {
348 347
         $objectAccess = new ObjectAccess();
349 348
         $objectAccesses = $this->pluginContainer->getPluginsWithInterface(ObjectAccessProviderInterface::class);
Please login to merge, or discard this patch.
src/Plugins/Mock/Pagers/MockAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         );
71 71
 
72 72
         return array_map(
73
-            function ($id) {
73
+            function($id) {
74 74
                 return $this->dataLayer->retrieve($this->resourceClass, $id, $this->context);
75 75
             },
76 76
             SearchFilterHelper::applySearchFilter($this->idList, $searchFilterRequest, $this->propertyAccessor)
Please login to merge, or discard this patch.
src/Plugins/StatusCheck/DataLayers/StatusCheckRetriever.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,11 +95,11 @@
 block discarded – undo
95 95
      */
96 96
     public function retrieveAll(string $resourceClass, array $context, SearchFilterRequest $searchFilterRequest): iterable
97 97
     {
98
-        $iterator = new RewindableGenerator(function () {
98
+        $iterator = new RewindableGenerator(function() {
99 99
             return $this->iterate();
100 100
         });
101 101
         if (array_key_exists('status', $searchFilterRequest->getSearches())) {
102
-            $filter = function (Status $status) use ($searchFilterRequest) {
102
+            $filter = function(Status $status) use ($searchFilterRequest) {
103 103
                 return $status->getStatus() === $searchFilterRequest->getSearches()['status'];
104 104
             };
105 105
             $iterator = new CallbackFilterIterator(
Please login to merge, or discard this patch.
src/Core/SearchFilters/SearchFilterHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         ObjectAccessInterface $objectAccess
15 15
     ): Pagerfanta {
16 16
         $paginator = new Pagerfanta(new ArrayAdapter(
17
-            array_values(array_filter($input, function ($item) use ($searchFilterRequest, $objectAccess) {
17
+            array_values(array_filter($input, function($item) use ($searchFilterRequest, $objectAccess) {
18 18
                 return self::filter($objectAccess, $item, $searchFilterRequest);
19 19
             }))
20 20
         ));
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $count = 0;
64 64
         $offset = $searchFilterRequest->getOffset();
65 65
         $max = $offset + $searchFilterRequest->getNumberOfItems();
66
-        return array_values(array_filter($input, function ($item) use (&$count, $searchFilterRequest, $max, $offset, $accessor) {
66
+        return array_values(array_filter($input, function($item) use (&$count, $searchFilterRequest, $max, $offset, $accessor) {
67 67
             if ($count >= $max) {
68 68
                 return false;
69 69
             }
Please login to merge, or discard this patch.
src/OpenApiSchema/OpenApiSpecGenerator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -170,14 +170,14 @@
 block discarded – undo
170 170
                                     [
171 171
                                         'schema' => $validationErrorSchema,
172 172
                                     ]
173
-                               ),
174
-                               'application/xml' => new OASv3\MediaType(
173
+                                ),
174
+                                'application/xml' => new OASv3\MediaType(
175 175
                                     [
176 176
                                         'schema' => $validationErrorSchema,
177 177
                                     ]
178
-                               ),
179
-                           ]
180
-                       ),
178
+                                ),
179
+                            ]
180
+                        ),
181 181
                     ],
182 182
                 ]),
183 183
             ]
Please login to merge, or discard this patch.
src/Plugins/Core/Serializers/SymfonySerializerAdapter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,8 @@
 block discarded – undo
154 154
         return $this->serializer->denormalize(
155 155
             $data,
156 156
             $resourceClass,
157
-           self::INTERNAL_FOR_DATALAYER,
158
-           ['object_access' => new ObjectAccess(false, true), 'keep_setter_calls' => true]
157
+            self::INTERNAL_FOR_DATALAYER,
158
+            ['object_access' => new ObjectAccess(false, true), 'keep_setter_calls' => true]
159 159
         );
160 160
     }
161 161
 }
Please login to merge, or discard this patch.
src/Plugins/Pagination/PaginationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         }
62 62
         if ($added) {
63 63
             $document->components->headers['Count'] = new Header('number of results', ['schema' => new Schema(['type' => 'number', 'format' => 'int'])]);
64
-            $document->components->headers['Url'] = new Header('pagination url', ['schema' => new Schema(['type' => 'string', 'format' => 'url']) ]);
64
+            $document->components->headers['Url'] = new Header('pagination url', ['schema' => new Schema(['type' => 'string', 'format' => 'url'])]);
65 65
         }
66 66
         return $document;
67 67
     }
Please login to merge, or discard this patch.