Commit da57a853 authored by Ad Schellevis's avatar Ad Schellevis

(model, BaseField) cast __toString to string, prevents "__toString() must return a string value"

parent 5bbced80
...@@ -264,7 +264,7 @@ abstract class BaseField ...@@ -264,7 +264,7 @@ abstract class BaseField
*/ */
public function __toString() public function __toString()
{ {
return $this->internalValue; return (string)$this->internalValue;
} }
/** /**
......
Markdown is supported
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