Skip to content

Commit

Permalink
update phpdoc in Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ldsink committed Dec 23, 2015
1 parent 3955ccd commit d10701f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions var/Typecho/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class Typecho_Plugin
*
* @access public
* @param string $handle 插件
* @return void
*/
public function __construct($handle)
{
Expand All @@ -92,7 +91,7 @@ public function __construct($handle)
* @access private
* @param array $pluginHandles
* @param array $otherPluginHandles
* @return void
* @return array
*/
private static function pluginHandlesDiff(array $pluginHandles, array $otherPluginHandles)
{
Expand All @@ -110,7 +109,6 @@ private static function pluginHandlesDiff(array $pluginHandles, array $otherPlug
*
* @access public
* @param array $plugins 插件列表
* @param mixed $callback 获取插件系统变量的代理函数
* @return void
*/
public static function init(array $plugins)
Expand All @@ -126,6 +124,7 @@ public static function init(array $plugins)
* 获取实例化插件对象
*
* @access public
* @param string $handle 插件
* @return Typecho_Plugin
*/
public static function factory($handle)
Expand Down Expand Up @@ -336,6 +335,7 @@ public static function parseInfo($pluginFile)
* @param string $pluginName 插件名
* @param string $path 插件目录
* @return array
* @throws Typecho_Plugin_Exception
*/
public static function portal($pluginName, $path)
{
Expand Down Expand Up @@ -405,7 +405,7 @@ public function trigger(&$signal)
*
* @access public
* @param string $pluginName 插件名称
* @return void
* @return mixed
*/
public function exists($pluginName) {
return array_search($pluginName, self::$_plugins['activated']);
Expand Down

0 comments on commit d10701f

Please sign in to comment.