Skip to content

Commit 1a65c3e

Browse files
committed
注释修改
1 parent 1ec2582 commit 1a65c3e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

helper/RbacHelper.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
/**
88
* 公共方法
9-
* @author windhoney
9+
*
10+
* @author windhoney
1011
* @package wind\rest\helper
1112
*/
1213
class RbacHelper
@@ -29,9 +30,8 @@ public static function resultMessage($code = 400, $message = 'ok')
2930
/**
3031
* 参数验证方法
3132
*
32-
* @param array $arr 传过来的参数数组
33-
* @param string $code
34-
* @param string $msg param verify
33+
* @param array $arr
34+
* @param int $code
3535
*/
3636
public static function paramVerify($arr, $code = 400)
3737
{
@@ -48,7 +48,7 @@ public static function paramVerify($arr, $code = 400)
4848
/**
4949
* 参数验证
5050
*
51-
* @param $arr
51+
* @param array $arr
5252
* @param array $need
5353
*/
5454
public static function paramRequire($arr, $need = [])

models/Assignment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use yii\helpers\ArrayHelper;
66
use Yii;
77
use yii\base\Model;
8-
//use yii\base\Object;
98
use wind\rest\components\Helper;
109
use yii\rbac\Item;
1110
use yii\data\ActiveDataProvider;

0 commit comments

Comments
 (0)