Code inspection

This commit is contained in:
PJ Dietz 2015-02-22 14:10:15 -05:00
parent 1a5712a417
commit a5c180dace
2 changed files with 4 additions and 2 deletions

View File

@ -214,6 +214,8 @@ class Router implements HandlerInterface
/**
* @deprecated Use {@see addRoute} instead.
* @see addRoute
* @param array|string $prefixes
* @param mixed $handler
*/
public function setPrefixRoute($prefixes, $handler)
{
@ -224,6 +226,8 @@ class Router implements HandlerInterface
/**
* @deprecated Use {@see addRoute} instead.
* @see addRoute
* @param array|string $paths
* @param mixed $handler
*/
public function setStaticRoute($paths, $handler)
{

View File

@ -11,9 +11,7 @@
namespace pjdietz\WellRESTed\Routes;
use InvalidArgumentException;
use pjdietz\WellRESTed\Interfaces\HandlerInterface;
use pjdietz\WellRESTed\Interfaces\RequestInterface;
use pjdietz\WellRESTed\Interfaces\ResponseInterface;
use pjdietz\WellRESTed\Interfaces\Routes\StaticRouteInterface;
/**