diff options
Diffstat (limited to 'lib/public/route/iroute.php')
-rw-r--r-- | lib/public/route/iroute.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/route/iroute.php b/lib/public/route/iroute.php index 66fdb841821..d5610e762a8 100644 --- a/lib/public/route/iroute.php +++ b/lib/public/route/iroute.php @@ -10,6 +10,7 @@ namespace OCP\Route; interface IRoute { /** * Specify PATCH as the method to use with this route + * @return \OCP\Route\IRoute */ public function patch(); @@ -26,21 +27,25 @@ interface IRoute { * it is called directly * * @param $file + * @return void */ public function actionInclude($file); /** * Specify GET as the method to use with this route + * @return \OCP\Route\IRoute */ public function get(); /** * Specify POST as the method to use with this route + * @return \OCP\Route\IRoute */ public function post(); /** * Specify DELETE as the method to use with this route + * @return \OCP\Route\IRoute */ public function delete(); @@ -74,6 +79,7 @@ interface IRoute { /** * Specify PUT as the method to use with this route + * @return \OCP\Route\IRoute */ public function put(); } |