Completed
Push — master ( d43477...1798cf )
by Bohuslav
14:04 queued 54s
created
src/Dispatchers/DispatcherClosure.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @param mixed $matches    parameters from request
88 88
      * @param mixed $parameters expected parameters from route
89 89
 
90
-     * @return array parametrs in right order, if there are not any parametrs an empty array is returned
90
+     * @return callable parametrs in right order, if there are not any parametrs an empty array is returned
91 91
      */
92 92
     private function _getFunctionArguments($paramMap, $matches, $parameters) {
93 93
         $output  = [];
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,6 @@
 block discarded – undo
86 86
      * @param mixed $paramMap   parameter map - that will be used for getting proper order
87 87
      * @param mixed $matches    parameters from request
88 88
      * @param mixed $parameters expected parameters from route
89
-
90 89
      * @return array parametrs in right order, if there are not any parametrs an empty array is returned
91 90
      */
92 91
     private function _getFunctionArguments($paramMap, $matches, $parameters) {
Please login to merge, or discard this patch.
src/Matcher.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
 
189 189
             list($routeRegex, $parameters) = $this->_transformRoute($routeUrl);
190 190
             $route->setParsed($routeRegex)
191
-                  ->setParameters($parameters);        
191
+                    ->setParameters($parameters);        
192 192
         }
193 193
 
194 194
         return $routes;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Object constructor for injecting dependencies
83 83
      *
84
-     * @param Kambo\Router\Route\RouteCollection $routeCollection 
85
-     * @param Kambo\Router\Dispatchers\Interfaces\DispatcherInterface $dispatcher
84
+     * @param RouteCollection $routeCollection 
85
+     * @param DispatcherInterface $dispatcher
86 86
      *
87 87
      */
88 88
     public function __construct(RouteCollection $routeCollection, DispatcherInterface $dispatcher) {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     /**
149 149
      * Get format for URL resolving.
150 150
      *
151
-     * @return boolean
151
+     * @return string
152 152
      */
153 153
     public function getUrlFormat() {
154 154
         return $this->_urlFormat;
Please login to merge, or discard this patch.
src/Dispatchers/DispatcherController.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,6 @@  discard block
 block discarded – undo
174 174
      * @param mixed $parameters route parameters  
175 175
      * @param mixed $handler    handler that should be executed
176 176
      * @param mixed $matches    found matched variables
177
-
178 177
      * @return mixed
179 178
      */
180 179
     private function _resolveNamespace($parameters, $handler, $matches) {
@@ -221,7 +220,6 @@  discard block
 block discarded – undo
221 220
      * @param mixed $matches    found matched variables
222 221
      * @param mixed $parameters route parameters  
223 222
      * @param mixed $handlers   handler that should be executed
224
-
225 223
      * @return mixed
226 224
      */
227 225
     private function _getFunctionArgumentsControlers($paramMap, $matches, $parameters, $handlers) {
Please login to merge, or discard this patch.