更新 'src/Oss.php'

This commit is contained in:
zyimm 2022-08-05 03:39:47 +00:00
parent 6dbfd35573
commit e129947bbe

View File

@ -141,14 +141,14 @@ class Oss
} }
/** /**
* getSecretKey * bucket
* *
* @return Oss * @return Oss
* @throws ContainerExceptionInterface * @throws ContainerExceptionInterface
* @throws GuzzleException * @throws GuzzleException
* @throws NotFoundExceptionInterface * @throws NotFoundExceptionInterface
*/ */
private function bucket(): Oss public function bucket(): Oss
{ {
$this->getSecretKey(); $this->getSecretKey();
$time = time(); $time = time();
@ -186,7 +186,7 @@ class Oss
* *
* @throws GuzzleException * @throws GuzzleException
*/ */
private function getSecretKey(): Oss public function getSecretKey(): Oss
{ {
if (!$this->oss) { if (!$this->oss) {