File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,19 @@ public function __construct(Config $config)
5353 'message ' => "'config' can not be unset " ,
5454 ]);
5555 }
56- if (Utils::_empty ($ config ->regionId )) {
56+ if (Utils::emptyWithSuffix ($ config ->regionId )) {
5757 throw new TeaError ([
5858 'name ' => 'ParameterMissing ' ,
5959 'message ' => "'config.regionId' can not be empty " ,
6060 ]);
6161 }
62- if (Utils::_empty ($ config ->endpoint )) {
62+ if (Utils::emptyWithSuffix ($ config ->endpoint )) {
6363 throw new TeaError ([
6464 'name ' => 'ParameterMissing ' ,
6565 'message ' => "'config.endpoint' can not be empty " ,
6666 ]);
6767 }
68- if (Utils::_empty ($ config ->type )) {
68+ if (Utils::emptyWithSuffix ($ config ->type )) {
6969 $ config ->type = 'access_key ' ;
7070 }
7171 $ credentialConfig = new \AlibabaCloud \Credentials \Credential \Config ([
You can’t perform that action at this time.
0 commit comments