mirror of
https://github.com/dannyvankooten/AltoRouter.git
synced 2025-08-04 07:27:36 +02:00
Update AltoRouter.php
Added @return to getRoutes. Removed unnecessary whitespaces.
This commit is contained in:
@@ -30,11 +30,12 @@ class AltoRouter {
|
||||
/**
|
||||
* Retrieves all routes.
|
||||
* Useful if you want to process or display routes.
|
||||
* @return array All routes.
|
||||
*/
|
||||
public function getRoutes() {
|
||||
return $this->routes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add multiple routes at once from array in the following format:
|
||||
*
|
||||
|
Reference in New Issue
Block a user