mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
(mvc) fix inheritance of setValue methods
This commit is contained in:
parent
02bd910d70
commit
be2a6df6ec
@ -48,7 +48,7 @@ class NetworkField extends BaseField
|
||||
*/
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->internalValue = trim(strtolower($value));
|
||||
parent::setValue(trim(strtolower($value)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -115,7 +115,7 @@ class PortField extends BaseField
|
||||
*/
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->internalValue = strtolower($value);
|
||||
parent::setValue(trim(strtolower($value)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user