Completed
Pull Request — master (#56)
by Michal
12:52
created
src/Handlers/OpenApiHandler.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -223,6 +223,7 @@  discard block
 block discarded – undo
223 223
      *
224 224
      * @param array $versionHandlers
225 225
      * @param string $basePath
226
+     * @param string $baseUrl
226 227
      *
227 228
      * @return array
228 229
      */
@@ -308,6 +309,9 @@  discard block
 block discarded – undo
308 309
         return $list;
309 310
     }
310 311
 
312
+    /**
313
+     * @param string $baseUrl
314
+     */
311 315
     private function getBasePath($handlers, $baseUrl)
312 316
     {
313 317
         $basePath = null;
@@ -317,6 +321,9 @@  discard block
 block discarded – undo
317 321
         return rtrim(str_replace($baseUrl, '', $basePath), '/');
318 322
     }
319 323
 
324
+    /**
325
+     * @param string $path2
326
+     */
320 327
     private function getLongestCommonSubstring($path1, $path2)
321 328
     {
322 329
         if ($path1 === null) {
@@ -382,6 +389,9 @@  discard block
 block discarded – undo
382 389
         return null;
383 390
     }
384 391
 
392
+    /**
393
+     * @param string $type
394
+     */
385 395
     private function createIn($type)
386 396
     {
387 397
         if ($type == InputParam::TYPE_GET) {
Please login to merge, or discard this patch.
src/Handlers/SwaggerHandler.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -159,6 +159,7 @@  discard block
 block discarded – undo
159 159
      *
160 160
      * @param array $versionHandlers
161 161
      * @param string $basePath
162
+     * @param string $baseUrl
162 163
      *
163 164
      * @return array
164 165
      */
@@ -251,6 +252,9 @@  discard block
 block discarded – undo
251 252
         return $list;
252 253
     }
253 254
 
255
+    /**
256
+     * @param string $baseUrl
257
+     */
254 258
     private function getBasePath($handlers, $baseUrl)
255 259
     {
256 260
         $basePath = null;
@@ -260,6 +264,9 @@  discard block
 block discarded – undo
260 264
         return rtrim(str_replace($baseUrl, '', $basePath), '/');
261 265
     }
262 266
 
267
+    /**
268
+     * @param string $path2
269
+     */
263 270
     private function getLongestCommonSubstring($path1, $path2)
264 271
     {
265 272
         if ($path1 === null) {
@@ -306,6 +313,9 @@  discard block
 block discarded – undo
306 313
         }, $handler->params());
307 314
     }
308 315
 
316
+    /**
317
+     * @param string $type
318
+     */
309 319
     private function createIn($type)
310 320
     {
311 321
         if ($type == InputParam::TYPE_GET) {
Please login to merge, or discard this patch.