[DDC-1961] Fixed parameter type support in Parameter
This commit is contained in:
parent
00a5f18544
commit
79a04b295f
@ -54,7 +54,7 @@ class Parameter
|
||||
{
|
||||
$this->name = trim($name, ':');
|
||||
|
||||
$this->setValue($value);
|
||||
$this->setValue($value, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -98,4 +98,4 @@ class Parameter
|
||||
$this->value = $value;
|
||||
$this->type = $type ?: ParameterTypeInferer::inferType($value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user