Completed
Push — master ( 7bd00e...0ce6e5 )
by Marco
02:04
created
src/MJanssen/Provider/RoutingServiceProvider.php 1 patch
Unused Use Statements   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -3,15 +3,13 @@
 block discarded – undo
3 3
 
4 4
 use InvalidArgumentException;
5 5
 use MJanssen\Route\Factory;
6
-use MJanssen\Route\Name;
7
-use MJanssen\Route\Route;
8
-use RuntimeException;
9
-use Silex\Application;
10
-use Silex\Controller;
11
-use Pimple\ServiceProviderInterface;
12 6
 use Pimple\Container;
7
+use Pimple\ServiceProviderInterface;
8
+use RuntimeException;
13 9
 use Silex\Api\BootableProviderInterface;
14 10
 use Silex\Api\EventListenerProviderInterface;
11
+use Silex\Application;
12
+use Silex\Controller;
15 13
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
16 14
 
17 15
 /**
Please login to merge, or discard this patch.
src/MJanssen/Route/Route.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@  discard block
 block discarded – undo
38 38
     private $values = [];
39 39
 
40 40
     /**
41
-     * @param array $methods
42
-     * @param string $pattern
43
-     * @param string $controller
44
-     * @param array $asserts
45
-     * @param array $values
46
-     * @param string $name
41
+     * @param Methods $methods
42
+     * @param Pattern $pattern
43
+     * @param Controller $controller
44
+     * @param Asserts $asserts
45
+     * @param Values $values
46
+     * @param Name $name
47 47
      */
48 48
     public function __construct(
49 49
         Methods $methods,
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @return Pattern
81
+     * @return string
82 82
      */
83 83
     public function getPattern()
84 84
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @return Controller
89
+     * @return string
90 90
      */
91 91
     public function getController()
92 92
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace MJanssen\Route;
4 4
 
5
-use InvalidArgumentException;
6
-use MJanssen\Assert\Method;
7
-
8 5
 class Route
9 6
 {
10 7
     /**
Please login to merge, or discard this patch.