Completed
Pull Request — 2.x (#145)
by
unknown
01:59
created
src/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
      *
280 280
      * @param string $val The value to encode or leave raw.
281 281
      *
282
-     * @return mixed
282
+     * @return string|null
283 283
      *
284 284
      */
285 285
     protected function encode($val)
Please login to merge, or discard this patch.
src/Regex.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param string $basepath A basepath to prefix to the route path.
56 56
      *
57
-     * @return bool
57
+     * @return integer
58 58
      *
59 59
      */
60 60
     public function match(Route $route, $path, $basepath = null)
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * Gets the replacement for optional params in the regex.
103 103
      *
104
-     * @param array $list The optional params.
104
+     * @param string $list The optional params.
105 105
      *
106 106
      * @return string
107 107
      *
Please login to merge, or discard this patch.
src/Route.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@
 block discarded – undo
527 527
      *
528 528
      * @param string $regex The regex to match against.
529 529
      *
530
-     * @return array
530
+     * @return string[]
531 531
      *
532 532
      */
533 533
     protected function isServerMatchRegex($server, $name, $regex)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace Aura\Router;
10 10
 
11 11
 use ArrayObject;
12
-use Closure;
13 12
 
14 13
 /**
15 14
  *
Please login to merge, or discard this patch.