Completed
Push — master ( bcd63e...e32a6c )
by Taosikai
14:47 queued 15s
created
Route.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
      */
156 156
     protected $variables = [];
157 157
 
158
+    /**
159
+     * @param string $path
160
+     */
158 161
     public function __construct($path, $action) {
159 162
         $this->setPath($path);
160 163
         $this->setAction($action);
@@ -469,7 +472,7 @@  discard block
 block discarded – undo
469 472
     /**
470 473
      * Checks whether the parameter exists
471 474
      * @param string $name
472
-     * @return mixed
475
+     * @return boolean
473 476
      */
474 477
     public function hasParameter($name)
475 478
     {
Please login to merge, or discard this patch.
Tests/MatcherTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Slince\Routing\RouteCollection;
9 9
 use Slince\Routing\Route;
10 10
 use Zend\Diactoros\ServerRequest;
11
-use Zend\Diactoros\ServerRequestFactory;
12 11
 
13 12
 class MatcherTest extends TestCase
14 13
 {
Please login to merge, or discard this patch.