private function sanitiseVariableValue(string $name, $value): array
    {
        $value = trim($value);

        if (!$value) {
            return [$name, $value];
        }

        $value = $this->getSanitisedValue($value);

        return [$name, trim($value)];
    }