Skip to content

Apply fixes from StyleCI #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/AlibabaCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
*/
class AlibabaCloud extends IlluminateFacade
{
const KEY_ID_ENV_NAME = "ALIYUN_ACCESS_KEY";
const KEY_SECRET_ENV_NAME = "ALIYUN_ACCESS_KEY_SECRET";
const REGION_ENV_NAME = "ALIYUN_REGION";
const KEY_ID_ENV_NAME = 'ALIYUN_ACCESS_KEY';
const KEY_SECRET_ENV_NAME = 'ALIYUN_ACCESS_KEY_SECRET';
const REGION_ENV_NAME = 'ALIYUN_REGION';
const ACCOUNT_ENV_NAME = 'ALIYUN_ACCOUNT_ID';

/**
Expand All @@ -44,7 +44,7 @@ protected static function getFacadeAccessor()
*/
public static function sdk()
{
if (!static::$sdk instanceof AlibabaCloudSdk) {
if (! static::$sdk instanceof AlibabaCloudSdk) {
static::$sdk = new AlibabaCloudSdk();
}

Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function randomName()
}

/**
* 把当前实例设置为默认实例
* 把当前实例设置为默认实例.
*
* @return $this
* @throws \AlibabaCloud\Client\Exception\ClientException
Expand Down
4 changes: 2 additions & 2 deletions tests/config/alibabaCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'RegionId' => md5(random_bytes(100)),
'AccountId' => md5(random_bytes(100)),
'Options' => [
/** http Options */
/** http Options */
],
],
'default2' => [
Expand All @@ -18,7 +18,7 @@
'RegionId' => md5(random_bytes(100)),
'AccountId' => md5(random_bytes(100)),
'Options' => [
/** http Options */
/** http Options */
],
],
'old' => [
Expand Down