Browse Source

Revert "settings are not used when creating a task"

This reverts commit e912c9cc0f7749f1cceba60e5ef8ad0ab3550fd2.

The parameter is present only because that's the signature of the parent
method
AD7six 12 years ago
parent
commit
d00d9e3ce7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Console/TaskRegistry.php

+ 2 - 1
src/Console/TaskRegistry.php

@@ -75,9 +75,10 @@ class TaskRegistry extends ObjectRegistry {
  *
  * @param string $class The classname to create.
  * @param string $alias The alias of the task.
+ * @param array $settings An array of settings to use for the task.
  * @return Component The constructed task class.
  */
-	protected function _create($class, $alias) {
+	protected function _create($class, $alias, $settings) {
 		return new $class(
 			$this->_Shell->stdout,
 			$this->_Shell->stderr,