Completed
Push — master ( 3a58ae...412d43 )
by Christian
08:50 queued 33s
created
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,7 @@  discard block
 block discarded – undo
47 47
      * The best format is also determined in function of the bundle configuration.
48 48
      *
49 49
      * @throws StopFormatListenerException
50
+     * @param string $header
50 51
      */
51 52
     public function getBest($header, array $priorities = [])
52 53
     {
@@ -108,7 +109,7 @@  discard block
 block discarded – undo
108 109
     }
109 110
 
110 111
     /**
111
-     * @param array $values
112
+     * @param string[] $values
112 113
      *
113 114
      * @return array
114 115
      */
Please login to merge, or discard this patch.
EventListener/BodyListener.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@
 block discarded – undo
133 133
     /**
134 134
      * Check if the Request is not a DELETE with no content and no Content-Type.
135 135
      *
136
-     * @param $method
136
+     * @param string $method
137 137
      * @param $content
138
-     * @param $contentType
138
+     * @param null|string $contentType
139 139
      *
140 140
      * @return bool
141 141
      */
Please login to merge, or discard this patch.
Controller/ExceptionController.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
98 98
         return $this->getStatusCodeFromThrowable($exception);
99 99
     }
100 100
 
101
+    /**
102
+     * @param integer $code
103
+     */
101 104
     private function createViewFromThrowable(\Throwable $exception, $code, array $templateData): View
102 105
     {
103 106
         $view = new View($exception, $code, $exception instanceof HttpExceptionInterface ? $exception->getHeaders() : []);
@@ -133,6 +136,7 @@  discard block
 block discarded – undo
133 136
      * This code comes from Symfony and should be synchronized on a regular basis
134 137
      * see src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php
135 138
      *
139
+     * @param null|string $startObLevel
136 140
      * @return string
137 141
      */
138 142
     private function getAndCleanOutputBuffering($startObLevel)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,13 +11,11 @@
 block discarded – undo
11 11
 
12 12
 namespace FOS\RestBundle\Controller;
13 13
 
14
-use FOS\RestBundle\Exception\FlattenException as FosFlattenException;
15 14
 use FOS\RestBundle\Util\ExceptionValueMap;
16 15
 use FOS\RestBundle\View\View;
17 16
 use FOS\RestBundle\View\ViewHandlerInterface;
18 17
 use Symfony\Component\HttpFoundation\Request;
19 18
 use Symfony\Component\HttpFoundation\Response;
20
-use Symfony\Component\ErrorHandler\Exception\FlattenException;
21 19
 use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
22 20
 use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
23 21
 
Please login to merge, or discard this patch.