Verified Commit a6c3b006 authored by dockx thibault's avatar dockx thibault
Browse files

:ambulance: Fix(Tasks) - fixing phpstan

Fixing phpstan
Showing with 1 addition and 1 deletion
+1 -1
...@@ -144,7 +144,7 @@ class tasksLifeCycle extends simplePlugin ...@@ -144,7 +144,7 @@ class tasksLifeCycle extends simplePlugin
$this->attributesAccess['fdTasksLifeCyclePreResource']->setChoices(array_keys($resources), array_values($resources)); $this->attributesAccess['fdTasksLifeCyclePreResource']->setChoices(array_keys($resources), array_values($resources));
$this->attributesAccess['fdTasksLifeCyclePostResource']->setChoices(array_keys($resources), array_values($resources)); $this->attributesAccess['fdTasksLifeCyclePostResource']->setChoices(array_keys($resources), array_values($resources));
// @phpstan-ignore-next-line - Class verification is performed prior but class is only available in plugin not CORE.
$this->subStates = supannAccountStatus::getConfiguredSubstates(); //Keys are states and Values are subStates $this->subStates = supannAccountStatus::getConfiguredSubstates(); //Keys are states and Values are subStates
$this->attributesAccess['fdTasksLifeCyclePreState']->setChoices(array_keys($this->subStates)); $this->attributesAccess['fdTasksLifeCyclePreState']->setChoices(array_keys($this->subStates));
$this->attributesAccess['fdTasksLifeCyclePostState']->setChoices(array_keys($this->subStates)); $this->attributesAccess['fdTasksLifeCyclePostState']->setChoices(array_keys($this->subStates));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment