Completed
Push — master ( 114e61...c9db42 )
by Stefano
05:06 queued 02:31
created
classes/Route.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -204,7 +204,6 @@  discard block
 block discarded – undo
204 204
 
205 205
     /**
206 206
      * Bind a middleware callback to invoked before the route definition
207
-     * @param  callable $before The callback to be invoked ($this is binded to the route object).
208 207
      * @return Route
209 208
      */
210 209
     public function & before($callback){
@@ -308,7 +307,7 @@  discard block
 block discarded – undo
308 307
      * @param  string  $pattern The URL schema with the named parameters
309 308
      * @param  string  $URL The URL to process, if omitted the current request URI will be used.
310 309
      * @param  boolean $cut If true don't limit the matching to the whole URL (used for group pattern extraction)
311
-     * @return array The extracted variables
310
+     * @return callable The extracted variables
312 311
      */
313 312
     protected static function extractVariablesFromURL($pattern, $URL=null, $cut=false){
314 313
       $URL     = $URL ?: Request::URI();
@@ -331,7 +330,6 @@  discard block
 block discarded – undo
331 330
 
332 331
     /**
333 332
      * Add a route to the internal route repository.
334
-     * @param Route $r
335 333
      * @return Route
336 334
      */
337 335
     public static function add($route){
Please login to merge, or discard this patch.