| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 3 | public function getOssClientParameters() |
|
| 48 | { |
||
| 49 | return [ |
||
| 50 | 3 | 'accessKeyId' => $this->get('access_id'), |
|
| 51 | 3 | 'accessKeySecret' => $this->get('access_key'), |
|
| 52 | 3 | 'endpoint' => $this->getOssEndpoint(), |
|
| 53 | 3 | 'isCName' => $this->isCName(), |
|
| 54 | 3 | 'securityToken' => $this->get('security_token', null) |
|
| 55 | ]; |
||
| 56 | } |
||
| 57 | } |
||
| 58 |