注释规范

This commit is contained in:
thinkphp
2016-06-20 17:34:54 +08:00
parent 940ed22965
commit a032828d5c
48 changed files with 724 additions and 760 deletions

View File

@@ -12,7 +12,7 @@
namespace think\controller;
use think\App;
use think\Loader;
/**
* ThinkPHP Hprose控制器类
*/
@@ -37,14 +37,14 @@ abstract class Hprose
}
//导入类库
\think\Loader::import('vendor.Hprose.HproseHttpServer');
Loader::import('vendor.Hprose.HproseHttpServer');
//实例化HproseHttpServer
$server = new \HproseHttpServer();
if ($this->allowMethodList) {
$methods = $this->allowMethodList;
} else {
$methods = get_class_methods($this);
$methods = array_diff($methods, array('__construct', '__call', '_initialize'));
$methods = array_diff($methods, ['__construct', '__call', '_initialize']);
}
$server->addMethods($methods, $this);
if (App::$debug || $this->debug) {