Fix call function statically error

Non-static method Web3\Utils::toString() should not be called
statically.
This commit is contained in:
sc0Vu 2018-01-12 12:28:44 +08:00
parent 4d3ed88b7b
commit 4a60041dde

View File

@ -221,7 +221,7 @@ class Utils
* @param mixed $value * @param mixed $value
* @return string * @return string
*/ */
public function toString($value) public static function toString($value)
{ {
try { try {
$value = (string) $value; $value = (string) $value;