注释和规范化调整及完善

注释和规范化调整及完善,以及部分代码优化
This commit is contained in:
yicheng
2015-12-06 01:56:10 +08:00
parent 491e33af8f
commit 47335634e9
37 changed files with 385 additions and 187 deletions

View File

@@ -34,10 +34,13 @@ class Validate
/**
* 自动表单验证
* @access protected
* @access protected
*
* @param array $data 创建数据
* @param string $type 创建类型
* @return boolean
* @param array $rule
*
* @return bool
* @internal param string $type 创建类型
*/
public function valid($data, $rule = [])
{
@@ -96,7 +99,7 @@ class Validate
return false;
}
}
return;
return true;
}
/**