Fix call function statically error
Non-static method Web3\Utils::toString() should not be called statically.
This commit is contained in:
parent
4d3ed88b7b
commit
4a60041dde
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user