Skip to content

Commit

Permalink
Merge pull request #2835 from adriansuter/patch-typo
Browse files Browse the repository at this point in the history
4.x - Rename `pathFor` to `urlFor` in docblock
  • Loading branch information
l0gicgate committed Sep 19, 2019
2 parents 2c9adea + e931b48 commit 4d490ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Slim/Routing/RouteCollector.php
Expand Up @@ -179,7 +179,7 @@ public function getBasePath(): string
}

/**
* Set the base path used in pathFor()
* Set the base path used in urlFor()
*
* @param string $basePath
*
Expand Down Expand Up @@ -262,7 +262,6 @@ public function group(string $pattern, $callable): RouteGroupInterface
*/
public function map(array $methods, string $pattern, $handler): RouteInterface
{

$route = $this->createRoute($methods, $pattern, $handler);
$this->routes[$route->getIdentifier()] = $route;
$this->routeCounter++;
Expand Down

0 comments on commit 4d490ab

Please sign in to comment.