Teil 2 #94

Merged
mg8220s merged 121 commits from dev into main 2025-01-08 10:16:03 +01:00
Showing only changes of commit 10b828ac62 - Show all commits

View File

@@ -20,7 +20,14 @@ class Task
public function __construct(string $text, array $variables) public function __construct(string $text, array $variables)
{ {
$this->text = $text; $this->text = $text;
$this->variables = $variables; $this->variables = array();
foreach ($variables as $variable => $value) {
if(!is_string($value)) {
continue;
}
$this->variables[$variable] = $value;
}
} }
/** /**