Completed
Pull Request — master (#178)
by Phil
01:48
created
src/ContainerAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param \Psr\Container\ContainerInterface $container
28 28
      *
29
-     * @return \League\Route\ContainerAwareInterface
29
+     * @return ContainerAwareTrait
30 30
      */
31 31
     public function setContainer(ContainerInterface $container) : ContainerAwareInterface
32 32
     {
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@
 block discarded – undo
65 65
      * Handle dispatching of a found route.
66 66
      *
67 67
      * @param \League\Route\Route $route
68
-     * @param array               $vars
69 68
      *
70 69
      * @return void
71 70
      */
Please login to merge, or discard this patch.
src/Route.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
      */
45 45
     protected $vars = [];
46 46
 
47
+    /**
48
+     * @param callable $handler
49
+     */
47 50
     public function __construct(string $method, string $path, $handler)
48 51
     {
49 52
         $this->method  = $method;
Please login to merge, or discard this patch.
src/Router.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     /**
162 162
      * Process all groups, and determine if we are using a group's strategy.
163 163
      *
164
-     * @param ?\Psr\Http\Message\ServerRequestInterface $request
164
+     * @param \Psr\Http\Message\ServerRequestInterface $request
165 165
      *
166 166
      * @return void
167 167
      */
Please login to merge, or discard this patch.
src/Strategy/StrategyAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      *
15 15
      * @param \League\Route\Strategy\StrategyInterface $strategy
16 16
      *
17
-     * @return \League\Route\Strategy\StrategyAwareInterface
17
+     * @return StrategyAwareTrait
18 18
      */
19 19
     public function setStrategy(StrategyInterface $strategy) : StrategyAwareInterface
20 20
     {
Please login to merge, or discard this patch.