1
0
mirror of synced 2025-01-30 12:01:44 +03:00

[DDC-1961] Fixed parameter type support in Parameter

This commit is contained in:
Michael Moravec 2012-07-31 16:30:27 +02:00 committed by Benjamin Eberlei
parent 00a5f18544
commit 79a04b295f

View File

@ -54,7 +54,7 @@ class Parameter
{ {
$this->name = trim($name, ':'); $this->name = trim($name, ':');
$this->setValue($value); $this->setValue($value, $type);
} }
/** /**
@ -98,4 +98,4 @@ class Parameter
$this->value = $value; $this->value = $value;
$this->type = $type ?: ParameterTypeInferer::inferType($value); $this->type = $type ?: ParameterTypeInferer::inferType($value);
} }
} }