The expression return $this->utilEncodi...alue, $options, $depth) could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
35
}
36
37
/**
38
* @param string $jsonValue
39
* @param bool $assoc
40
* @param int|null $depth
41
* @param int|null $options
42
*
43
* @return mixed|null
44
*/
45
public function decodeJson($jsonValue, $assoc = false, $depth = null, $options = null)