Completed
Push — master ( 7cdc5e...d34ae1 )
by kill
07:19
created
core/controller.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -28,6 +28,10 @@
 block discarded – undo
28 28
         $function = new \Twig_SimpleFunction('I','I');
29 29
         $this->twig->addFunction($function);
30 30
     }
31
+
32
+    /**
33
+     * @param string $name
34
+     */
31 35
     protected function assign($name, $value = '')
32 36
     {
33 37
         if (is_array($name)) {
Please login to merge, or discard this patch.
core/functions/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/DispatchHelper.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -62,6 +62,10 @@
 block discarded – undo
62 62
         self::param();
63 63
         self::exec($class,ACTION_NAME);
64 64
     }
65
+
66
+    /**
67
+     * @param string $function
68
+     */
65 69
     static public function exec($class,$function){
66 70
         $method = new \ReflectionMethod($class, $function);
67 71
         if ($method->isPublic() && !$method->isStatic()) {
Please login to merge, or discard this patch.
core/helpers/PageHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
      *
47 47
      *  pass values when class is istantiated
48 48
      *
49
-     * @param numeric  $_perPage  sets the number of iteems per page
50
-     * @param numeric  $_instance sets the instance for the GET parameter
49
+     * @param numeric  $perPage  sets the number of iteems per page
50
+     * @param numeric  $instance sets the instance for the GET parameter
51 51
      */
52 52
     public function __construct($perPage,$instance){
53 53
         $this->_instance = $instance;
Please login to merge, or discard this patch.