summaryrefslogtreecommitdiff
path: root/src/Task.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Task.php')
-rw-r--r--src/Task.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Task.php b/src/Task.php
index 598f55c..a5698ea 100644
--- a/src/Task.php
+++ b/src/Task.php
@@ -6,22 +6,22 @@ use PHPIAC\Module\ModuleInterface;
class Task
{
- public function __construct(
- public ModuleInterface $module,
- public array $vars,
- ) {}
+ public ModuleInterface $module;
+ /**
+ * Task constructor.
+ */
+ public function __construct() {}
+
+ /**
+ * @param ModuleInterface $module
+ *
+ * @return $this
+ */
public function setModule(ModuleInterface $module): self
{
$this->module = $module;
return $this;
}
-
- public function setVars(array $vars): self
- {
- $this->vars = $vars;
-
- return $this;
- }
}