Passed
Push — master ( 384709...16ae1e )
by Michael
09:23
created
src/Request/JsonApiDocumentParameterConverter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      * Decode JSON
98 98
      *
99 99
      * @param  string $content
100
-     * @return mixed
100
+     * @return \stdClass
101 101
      * @throws BadRequestHttpException
102 102
      */
103 103
     protected function decodeContent(string $content): \stdClass
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,7 @@
 block discarded – undo
101 101
 
102 102
         try {
103 103
             $document = $this->hydrator->hydrate($decoded);
104
-        }
105
-        catch (InvalidDocumentException $exception) {
104
+        } catch (InvalidDocumentException $exception) {
106 105
             throw new BadRequestHttpException('Document hydration error: ' . $exception->getMessage(), $exception);
107 106
         }
108 107
 
Please login to merge, or discard this patch.
src/Routing/RouteRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Get URL generator
69 69
      *
70
-     * @return UrlGeneratorInterface
70
+     * @return \Symfony\Component\Routing\Generator\UrlGeneratorInterface
71 71
      */
72 72
     protected function getUrlGenerator(): UrlGeneratorInterface
73 73
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Assemble routes collection
86 86
      *
87
-     * @return RouteCollection
87
+     * @return \Symfony\Component\Routing\RouteCollection
88 88
      */
89 89
     protected function assembleRoutesCollection(): RouteCollection
90 90
     {
Please login to merge, or discard this patch.