Passed
Push — master ( ade1c9...725b43 )
by kill
02:33
created
function.php 2 patches
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 }
95 95
 /**
96 96
  * session管理函数
97
- * @param string|array $name session名称 如果为数组则表示进行session设置
97
+ * @param string $name session名称 如果为数组则表示进行session设置
98 98
  * @param mixed $value session值
99 99
  * @return mixed
100 100
  */
@@ -407,6 +407,11 @@  discard block
 block discarded – undo
407 407
         $value .= ' ';
408 408
     }
409 409
 }
410
+/**
411
+ * @param string $name
412
+ *
413
+ * @return string|null
414
+ */
410 415
 function config($name=null,$value=null,$default=null){
411 416
     $config=\puck\Conf::load();
412 417
     if ($name===null){
Please login to merge, or discard this patch.
Indentation   -5 removed lines patch added patch discarded remove patch
@@ -70,15 +70,10 @@
 block discarded – undo
70 70
 
71 71
 
72 72
 /**
73
-
74 73
  * 数据签名认证
75
-
76 74
  * @param  array  $data 被认证的数据
77
-
78 75
  * @return string       签名
79
-
80 76
  * @author 麦当苗儿 <[email protected]>
81
-
82 77
  */
83 78
 function data_auth_sign($data) {
84 79
     //数据类型检测
Please login to merge, or discard this patch.