From a498669ad86839dabd37d394b6bb29f382454c58 Mon Sep 17 00:00:00 2001 From: ldsink Date: Tue, 8 Dec 2015 21:42:02 +0800 Subject: [PATCH] add excption throws --- var/Typecho/Router.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/Typecho/Router.php b/var/Typecho/Router.php index 49956f4e..927a6772 100644 --- a/var/Typecho/Router.php +++ b/var/Typecho/Router.php @@ -46,6 +46,7 @@ class Typecho_Router * @param string $pathInfo 全路径 * @param mixed $parameter 输入参数 * @return mixed + * @throws Exception */ public static function match($pathInfo, $parameter = NULL) { @@ -111,7 +112,7 @@ class Typecho_Router * 路由分发函数 * * @return void - * @throws Typecho_Router_Exception + * @throws Exception */ public static function dispatch() {