Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Utils/CurlRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * The curl post request.
40 40
      *
41 41
      * @param  string $url
42
-     * @param  array  $header
42
+     * @param  string[]  $header
43 43
      * @param  array  $data
44 44
      * @param  int    $await
45 45
      * @return array
Please login to merge, or discard this patch.
src/Utils/File.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@
 block discarded – undo
5 5
 class File
6 6
 {
7 7
 
8
+    /**
9
+     * @param string $filename
10
+     */
8 11
     static function download($filename, $displayname)
9 12
     {
10 13
         header("Content-type: application/octet-stream");
Please login to merge, or discard this patch.
src/Utils/Lunar.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      * 根据距离正月初一的天数计算阴历日期
255 255
      *
256 256
      * @param year 阳历年
257
-     * @param between 天数
257
+     * @param between double
258 258
      */
259 259
     function getLunarByBetween($year,$between)
260 260
     {
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
      * 获取数字的阴历叫法
308 308
      *
309 309
      * @param num 数字
310
-     * @param isMonth 是否是月份的数字
310
+     * @param isMonth boolean
311 311
      */
312 312
     function getCapitalNum($num, $isMonth)
313 313
     {
Please login to merge, or discard this patch.
src/WebHook/GitPush.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * arrange the data format.
71 71
      *
72
-     * @param  number $issue_no
73 72
      * @param  array  $commit
74 73
      * @return array
75 74
      */
@@ -82,8 +81,8 @@  discard block
 block discarded – undo
82 81
      * exec the workflow.
83 82
      *
84 83
      * @param  string $project_key
85
-     * @param  number $issue_no
86
-     * @param  number $action_id
84
+     * @param  number $issue
85
+     * @param  integer $action_id
87 86
      * @param  string $caller
88 87
      * @return void
89 88
      */
@@ -108,7 +107,6 @@  discard block
 block discarded – undo
108 107
      * add git commits to the issue.
109 108
      *
110 109
      * @param  string $project_key
111
-     * @param  array  $commits
112 110
      * @return void
113 111
      */
114 112
     public function insCommits($project_key)
@@ -147,7 +145,6 @@  discard block
 block discarded – undo
147 145
      * check if the commit relate to issue.
148 146
      *
149 147
      * @param  string $project_key
150
-     * @param  array  $commit
151 148
      * @return mixed
152 149
      */
153 150
     public function relateIssue($project_key, $message)
Please login to merge, or discard this patch.
src/Workflow/Workflow.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * workflow constructor
59 59
      *
60 60
      * @param  string $entry_id
61
-     * @return void
61
+     * @return string
62 62
      */
63 63
     public function __construct($entry_id)
64 64
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param  string $definition_id
91 91
      * @param  string $caller
92
-     * @return string
92
+     * @return Workflow
93 93
      */
94 94
     public static function createInstance($definition_id, $caller)
95 95
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * initialize workflow.
132 132
      *
133 133
      * @param  array options 
134
-     * @return void
134
+     * @return Workflow
135 135
      */
136 136
     public function start($options=[])
137 137
     {
@@ -307,6 +307,7 @@  discard block
 block discarded – undo
307 307
      *
308 308
      * @param  array $current_steps
309 309
      * @param  int   $action;
310
+     * @param integer $action_id
310 311
      * @return void
311 312
      */
312 313
     private function transitionWorkflow($current_steps, $action_id)
@@ -488,7 +489,6 @@  discard block
 block discarded – undo
488 489
     /**
489 490
      *  get step configuration.
490 491
      *
491
-     * @param  array  $steps
492 492
      * @param  string $step_id
493 493
      * @return array
494 494
      */
@@ -530,7 +530,6 @@  discard block
 block discarded – undo
530 530
     /**
531 531
      * get all available actions
532 532
      *
533
-     * @param  array $info
534 533
      * @param  bool  $dest_state added for kanban dnd, is not common param.
535 534
      * @return array
536 535
      */
Please login to merge, or discard this patch.
src/Listeners/GroupRoleSetListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent $event
29
+     * @param  Event $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Listeners/UserDelListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent $event
29
+     * @param  Event $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Listeners/UserRoleSetListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Handle the event.
28 28
      *
29
-     * @param  FieldChangeEvent $event
29
+     * @param  Event $event
30 30
      * @return void
31 31
      */
32 32
     public function handle(Event $event)
Please login to merge, or discard this patch.
src/Component/Config/Tests/MysqlConfigTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         unlink($path);
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $path
43
+     */
41 44
     protected function createConfig($path)
42 45
     {
43 46
         $conn = new Connection(array('path' => $path), new SqliteDriver());
Please login to merge, or discard this patch.