Completed
Branch master (e048c0)
by Gabriel
02:40
created
src/Junty/TaskRunner/Runner/Runner.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,6 @@  discard block
 block discarded – undo
66 66
      * Organize tasks and groups order
67 67
      * If this method is executed and a task and a group is not in this list, it won't be executed
68 68
      *
69
-     * @param string-variadic $tasks
70 69
      */
71 70
     public function order(string ...$names)
72 71
     {
@@ -86,7 +85,7 @@  discard block
 block discarded – undo
86 85
     /**
87 86
      * Returns all registred tasks
88 87
      *
89
-     * @return TasksCollection
88
+     * @return \Junty\TaskRunner\Task\TasksCollection
90 89
      */
91 90
     public function getTasks() : TasksCollection
92 91
     {
@@ -149,7 +148,7 @@  discard block
 block discarded – undo
149 148
     /**
150 149
      * Runs a group of tasks
151 150
      *
152
-     * @param string|GroupInterface $group
151
+     * @param string $group
153 152
      */
154 153
     public function runGroup($group)
155 154
     {
@@ -161,6 +160,9 @@  discard block
 block discarded – undo
161 160
         }
162 161
     }
163 162
 
163
+    /**
164
+     * @param string $name
165
+     */
164 166
     private function getFromOrderData($name)
165 167
     {
166 168
         $parts = explode('::', $name);
Please login to merge, or discard this patch.