1
0
mirror of https://github.com/typecho/typecho.git synced 2025-03-20 09:59:41 +01:00

Merge pull request from ldsink/master

update PHPDoc comments
This commit is contained in:
joyqi 2015-12-08 23:24:27 +08:00
commit 35d2908934
3 changed files with 6 additions and 9 deletions

@ -46,6 +46,7 @@ class Typecho_Router
* @param string $pathInfo 全路径
* @param mixed $parameter 输入参数
* @return mixed
* @throws Exception
*/
public static function match($pathInfo, $parameter = NULL)
{
@ -110,9 +111,8 @@ class Typecho_Router
/**
* 路由分发函数
*
* @param string $path 目的文件所在目录
* @return void
* @throws Typecho_Route_Exception
* @throws Exception
*/
public static function dispatch()
{
@ -159,7 +159,7 @@ class Typecho_Router
* 路由反解析函数
*
* @param string $name 路由配置表名称
* @param string $value 路由填充值
* @param array $value 路由填充值
* @param string $prefix 最终合成路径的前缀
* @return string
*/
@ -200,7 +200,7 @@ class Typecho_Router
* @param string $routeName 路由名称
* @static
* @access public
* @return void
* @return mixed
*/
public static function get($routeName)
{

@ -48,7 +48,6 @@ class Typecho_Router_Parser
*
* @access public
* @param array $routingTable 路由器映射表
* @return void
*/
public function __construct(array $routingTable)
{

@ -91,7 +91,7 @@ abstract class Typecho_Widget
* config对象
*
* @access public
* @var public
* @var Typecho_Config
*/
public $parameter;
@ -102,7 +102,6 @@ abstract class Typecho_Widget
* @param mixed $request request对象
* @param mixed $response response对象
* @param mixed $params 参数列表
* @return void
*/
public function __construct($request, $response, $params = NULL)
{
@ -244,7 +243,7 @@ abstract class Typecho_Widget
* 将类本身赋值
*
* @param string $variable 变量名
* @return void
* @return self
*/
public function to(&$variable)
{
@ -285,7 +284,6 @@ abstract class Typecho_Widget
* 根据余数输出
*
* @access public
* @param string $param 需要输出的值
* @return void
*/
public function alt()