Completed
Pull Request — master (#541)
by
unknown
03:16
created
src/Collection/CollectionBuilder.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
    * @see \Robo\Collection\CollectionInterface::addCode
153 153
    *
154 154
    * @param callable $code
155
-   * @param int|string $name
155
+   * @param integer $name
156 156
    * @return $this
157 157
    */
158 158
     public function addCode(callable $code, $name = self::UNNAMEDTASK)
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
      * @param InflectionInterface $task
385 385
      * @param array $args
386 386
      *
387
-     * @return \Robo\Collection\CompletionWrapper|\Robo\Task\Simulator
387
+     * @return TaskInterface
388 388
      */
389 389
     protected function fixTask($task, $args)
390 390
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -146,15 +146,15 @@
 block discarded – undo
146 146
         return $this;
147 147
     }
148 148
 
149
-  /**
150
-   * Add arbitrary code to execute as a task.
151
-   *
152
-   * @see \Robo\Collection\CollectionInterface::addCode
153
-   *
154
-   * @param callable $code
155
-   * @param int|string $name
156
-   * @return $this
157
-   */
149
+    /**
150
+     * Add arbitrary code to execute as a task.
151
+     *
152
+     * @see \Robo\Collection\CollectionInterface::addCode
153
+     *
154
+     * @param callable $code
155
+     * @param int|string $name
156
+     * @return $this
157
+     */
158 158
     public function addCode(callable $code, $name = self::UNNAMEDTASK)
159 159
     {
160 160
         $this->getCollection()->addCode($code, $name);
Please login to merge, or discard this patch.