Completed
Pull Request — master (#765)
by Dalibor
06:03 queued 02:07
created
src/Util/RequestParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
         $source = preg_replace_callback(
57 57
             '/(^|(?<=&))[^=[&]+/',
58
-            function ($key) {
58
+            function($key) {
59 59
                 return bin2hex(urldecode($key[0]));
60 60
             },
61 61
             $source
Please login to merge, or discard this patch.
src/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                     ->useAttributeAsKey('format')
41 41
                     ->beforeNormalization()
42 42
                         ->ifArray()
43
-                        ->then(function ($v) {
43
+                        ->then(function($v) {
44 44
                             foreach ($v as $format => $value) {
45 45
                                 if (isset($value['mime_types'])) {
46 46
                                     continue;
Please login to merge, or discard this patch.
src/Serializer/AbstractItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $this->contextBuilder = $contextBuilder;
57 57
         $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();
58 58
 
59
-        $this->setCircularReferenceHandler(function ($object) {
59
+        $this->setCircularReferenceHandler(function($object) {
60 60
             return $this->iriConverter->getIriFromItem($object);
61 61
         });
62 62
     }
Please login to merge, or discard this patch.
src/Hal/Serializer/ItemNormalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
      * @param string|null $format
216 216
      * @param array       $context
217 217
      *
218
-     * @return bool|string
218
+     * @return string|false
219 219
      */
220 220
     private function getCacheKey(string $format = null, array $context)
221 221
     {
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Util/QueryNameGenerator.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
  * Converts {@see \Symfony\Component\Validator\ConstraintViolationListInterface} the API Problem spec (RFC 7807).
19 19
  *
20 20
  * @see https://tools.ietf.org/html/rfc7807
21
-
22 21
  * @author Kévin Dunglas <[email protected]>
23 22
  */
24 23
 final class ConstraintViolationListNormalizer implements NormalizerInterface
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * @param QueryBuilder $queryBuilder
68 68
      * @param string       $resourceClass
69 69
      */
70
-    private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, string $originAlias = 'o', string &$relationAlias = 'a')
70
+    private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, string $originAlias = 'o', string & $relationAlias = 'a')
71 71
     {
72 72
         $classMetadata = $queryBuilder->getEntityManager()->getClassMetadata($resourceClass);
73 73
         $j = 0;
Please login to merge, or discard this patch.
src/Metadata/Resource/Factory/XmlResourceMetadataFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      *
66 66
      * @param string $resourceClass
67 67
      *
68
-     * @return array
68
+     * @return null|string
69 69
      */
70 70
     private function getMetadata(string $resourceClass) : array
71 71
     {
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/SearchFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
      */
287 287
     protected function createWrapCase(bool $caseSensitive) : \Closure
288 288
     {
289
-        return function (string $expr) use ($caseSensitive) : string {
289
+        return function(string $expr) use ($caseSensitive) : string {
290 290
             if ($caseSensitive) {
291 291
                 return $expr;
292 292
             }
Please login to merge, or discard this patch.
src/Swagger/Serializer/DocumentationNormalizer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
     /**
171 171
      * @param \ArrayObject     $pathOperation
172
-     * @param array            $mimeTypes
172
+     * @param string[]            $mimeTypes
173 173
      * @param bool             $collection
174 174
      * @param ResourceMetadata $resourceMetadata
175 175
      * @param string           $resourceClass
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 
220 220
     /**
221 221
      * @param \ArrayObject     $pathOperation
222
-     * @param array            $mimeTypes
222
+     * @param string[]            $mimeTypes
223 223
      * @param bool             $collection
224 224
      * @param ResourceMetadata $resourceMetadata
225 225
      * @param string           $resourceClass
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 
255 255
     /**
256 256
      * @param \ArrayObject     $pathOperation
257
-     * @param array            $mimeTypes
257
+     * @param string[]            $mimeTypes
258 258
      * @param bool             $collection
259 259
      * @param ResourceMetadata $resourceMetadata
260 260
      * @param string           $resourceClass
Please login to merge, or discard this patch.