Corrected typos in the comments.

Signed-off-by: Pavel <proger.xp@gmail.com>
This commit is contained in:
Pavel
2012-04-16 18:44:11 +04:00
parent 728a320cbc
commit 482aed9379
5 changed files with 6 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ class Router {
*
* <code>
* // Register a route with the router
* Router::register('GET' ,'/', function() {return 'Home!';});
* Router::register('GET', '/', function() {return 'Home!';});
*
* // Register a route that handles multiple URIs with the router
* Router::register(array('GET', '/', 'GET /home'), function() {return 'Home!';});
@@ -542,7 +542,7 @@ class Router {
$fallback = array_get(static::$fallback, $method, array());
// When building the array of routes, we'll merge in all of the fallback
// routes for each request methdo individually. This allows us to avoid
// routes for each request method individually. This allows us to avoid
// collisions when merging the arrays together.
$routes[$method] = array_merge($routes[$method], $fallback);
}