feature/formeln-backend #84

Merged
mg8220s merged 9 commits from feature/formeln-backend into dev 2024-12-14 18:19:32 +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)
{
$this->text = $text;
$this->variables = $variables;
$this->variables = array();
foreach ($variables as $variable => $value) {
if(!is_string($value)) {
continue;
}
$this->variables[$variable] = $value;
}
}
/**