Skip to content

Commit 24488a6

Browse files
committed
refactor: remove useless code
1 parent 3369079 commit 24488a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/OssClientAdapter.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ public function client()
3535
}
3636

3737
/**
38-
* @param string $bucket
3938
* @return string
4039
*/
41-
public function bucket($bucket = "")
40+
public function bucket()
4241
{
43-
return $bucket == "" ? $this->adapter->getBucket() : $bucket;
42+
return $this->adapter->getBucket();
4443
}
4544

4645
/**

0 commit comments

Comments
 (0)