Closed chuoke closed 3 years ago
Overtrue\EasySms\Message 类的 setData() 方法类型错误,没办法设置回调
Overtrue\EasySms\Message
/** * @param \Overtrue\EasySms\Contracts\GatewayInterface|null $gateway * * @return array */ public function getData(GatewayInterface $gateway = null) { return is_callable($this->data) ? call_user_func($this->data, $gateway) : $this->data; } /** * @param array $data * * @return $this */ public function setData(array $data) { $this->data = $data; return $this; }
Overtrue\EasySms\Message
类的 setData() 方法类型错误,没办法设置回调