Completed
Pull Request — master (#81)
by Michal
07:21
created
src/Params/JsonInputParam.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 use Exception;
8 8
 use Nette\Application\UI\Form;
9 9
 use Nette\Forms\Controls\BaseControl;
10
-use Tomaj\NetteApi\Validation\JsonSchemaValidator;
11 10
 use Tomaj\NetteApi\ValidationResult\ValidationResult;
12 11
 use Tomaj\NetteApi\ValidationResult\ValidationResultInterface;
12
+use Tomaj\NetteApi\Validation\JsonSchemaValidator;
13 13
 
14 14
 class JsonInputParam extends InputParam
15 15
 {
Please login to merge, or discard this patch.
src/Handlers/OpenApiHandler.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -283,6 +283,9 @@  discard block
 block discarded – undo
283 283
         return $list;
284 284
     }
285 285
 
286
+    /**
287
+     * @param string $baseUrl
288
+     */
286 289
     private function getBasePath($handlers, $baseUrl)
287 290
     {
288 291
         $basePath = null;
@@ -292,6 +295,9 @@  discard block
 block discarded – undo
292 295
         return rtrim(str_replace($baseUrl, '', $basePath), '/');
293 296
     }
294 297
 
298
+    /**
299
+     * @param string $path2
300
+     */
295 301
     private function getLongestCommonSubstring($path1, $path2)
296 302
     {
297 303
         if ($path1 === null) {
@@ -421,6 +427,9 @@  discard block
 block discarded – undo
421 427
         return null;
422 428
     }
423 429
 
430
+    /**
431
+     * @param string $type
432
+     */
424 433
     private function createIn($type)
425 434
     {
426 435
         if ($type == InputParam::TYPE_GET) {
Please login to merge, or discard this patch.