dingtalk
dingtalk copied to clipboard
PHP8.0环境下无法正常使用
安装版本:2.3.1 PHP版本:PHP 8.0.0 (cli) (built: Dec 22 2020 11:10:47) ( NTS ) 运行环境:CLI模式 使用代码:
$dingTalk = new Application([
'corp_id' => 'corp_id',
'app_key' => 'app_key',
'app_secret' => 'app_secret',
]);
$process = $dingTalk->process->get('process_id');
报错信息:
PHP Fatal error: Method Overtrue\Http\Support\Collection::__set_state() must take exactly 1 argument in /www/wwwroot/oa.xtow.net/vendor/overtrue/http/src/Support/Collection.php on line 424