The expression return $this->getReader(...findMap($ip, $language) could also return false which is incompatible with the documented return type array|null. Did you maybe forget to handle an error condition?
If the returned type also contains false, it is an indicator that maybe an error condition leading to the specific return statement remains unhandled.
Loading history...
75
}
76
77
/**
78
* 根据ip查找信息对象
79
*
80
* @param string $ip 查找的ip
81
* @param string $language 语言
82
*
83
* @return mixed
84
*/
85
abstract public function findInfo($ip, $language);
If the returned type also contains false, it is an indicator that maybe an error condition leading to the specific return statement remains unhandled.