Completed
Pull Request — 2.x (#2280)
by
unknown
16:35
created
Controller/ExceptionController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@
 block discarded – undo
110 110
         return $this->getStatusCodeFromThrowable($exception);
111 111
     }
112 112
 
113
+    /**
114
+     * @param integer $code
115
+     */
113 116
     private function createViewFromThrowable(\Throwable $exception, $code, array $templateData): View
114 117
     {
115 118
         $view = new View($exception, $code, $exception instanceof HttpExceptionInterface ? $exception->getHeaders() : []);
Please login to merge, or discard this patch.
Routing/Loader/Reader/RestActionReader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -300,6 +300,9 @@
 block discarded – undo
300 300
         return sprintf("request.attributes.get('version') in ['%s']", implode("', '", $this->versions));
301 301
     }
302 302
 
303
+    /**
304
+     * @param null|string $conditionOne
305
+     */
303 306
     private function combineConditions(?string $conditionOne, ?string $conditionTwo): ?string
304 307
     {
305 308
         if (null === $conditionOne) {
Please login to merge, or discard this patch.
View/ViewHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -218,6 +218,7 @@
 block discarded – undo
218 218
      * configuration if the form instance has errors.
219 219
      *
220 220
      * @param string|false|null
221
+     * @param string|false $content
221 222
      *
222 223
      * @return int HTTP status code
223 224
      */
Please login to merge, or discard this patch.
Negotiation/FormatNegotiator.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -160,6 +160,10 @@  discard block
 block discarded – undo
160 160
      */
161 161
    class FormatNegotiator extends BaseFormatNegotiator
162 162
    {
163
+
164
+      /**
165
+       * @param string $header
166
+       */
163 167
       public function getBest($header, array $priorities = [], $strict = false)
164 168
       {
165 169
           return $this->doGetBest($header, $priorities);
@@ -173,6 +177,10 @@  discard block
 block discarded – undo
173 177
      */
174 178
    class FormatNegotiator extends BaseFormatNegotiator
175 179
    {
180
+
181
+      /**
182
+       * @param string $header
183
+       */
176 184
       public function getBest($header, array $priorities = [])
177 185
       {
178 186
           return $this->doGetBest($header, $priorities);
Please login to merge, or discard this patch.