Passed
Push — master ( ade1c9...725b43 )
by kill
02:33
created
function.php 1 patch
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.
core/helpers/Chaos.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -139,6 +139,10 @@
 block discarded – undo
139 139
 	}
140 140
 	
141 141
 	//随机重复一个字符
142
+
143
+	/**
144
+	 * @param string $str
145
+	 */
142 146
 	function setRepeat($str) {
143 147
 		$len = iconv_strlen( $str, 'UTF-8' );
144 148
 		$action = 0;
Please login to merge, or discard this patch.