mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 23:32:15 +00:00
[FEATURE] Added support for class hinting on routes as requested by #491
This commit is contained in:
@@ -82,7 +82,7 @@ interface IRoute
|
||||
/**
|
||||
* Set callback
|
||||
*
|
||||
* @param string $callback
|
||||
* @param string|array|\Closure $callback
|
||||
* @return static
|
||||
*/
|
||||
public function setCallback($callback): self;
|
||||
|
||||
Reference in New Issue
Block a user