Skip to content

Commit

Permalink
style: php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jan 1, 2024
1 parent 8137a29 commit e6ad208
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Service/Cos.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Miaoxing\Qcloud\Service;

use Exception;
use Miaoxing\Plugin\Service\BaseStorage;
use Qcloud\Cos\Client;
use Qcloud\Cos\Exception\ServiceResponseException;
Expand Down Expand Up @@ -60,7 +59,7 @@ protected function write(string $path, string $content, array $options = []): Re
'code' => $e->getStatusCode(),
'cosErrorCode' => $e->getCosErrorCode(),
]);
} catch (Exception $e) {
} catch (\Exception $e) {
return err($e->getMessage());
}
}
Expand Down

0 comments on commit e6ad208

Please sign in to comment.