Skip to content

Commit b69282c

Browse files
wb-hx510875AxiosLeo
authored andcommitted
Generated by php generator 1.1.6 version
1 parent 900a133 commit b69282c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ImageSearch.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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([

0 commit comments

Comments
 (0)