@@ -66,6 +66,9 @@ |
||
66 | 66 | return $list[$j]; |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param integer $index |
|
71 | + */ |
|
69 | 72 | protected function getRandomUserByIndex($index) : string |
70 | 73 | { |
71 | 74 | $userIds = Yaml::parse( |
@@ -75,6 +75,11 @@ |
||
75 | 75 | } |
76 | 76 | } |
77 | 77 | |
78 | + /** |
|
79 | + * @param integer $index |
|
80 | + * |
|
81 | + * @return string |
|
82 | + */ |
|
78 | 83 | private function taskPriority($index) |
79 | 84 | { |
80 | 85 | $priorityIndex = $index % 2 > 3 ? 0 : 2 - $index % 3; |