Skip to content

Commit bbf48c5

Browse files
yangzong18huiguangjun
authored andcommitted
refine composer.json and fix unit test
1 parent 25a1469 commit bbf48c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"ext-json": "*",
1717
"psr/http-message": "^1.0 || ^2.0",
1818
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
19-
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
19+
"guzzlehttp/psr7": "^2.7",
2020
"guzzlehttp/promises": "^1.4.0 || ^2.0"
2121
},
2222
"require-dev" : {

src/Models/PutPublicAccessBlockRequest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
* @package AlibabaCloud\Oss\V2\Models
1414
*/
1515
final class PutPublicAccessBlockRequest extends RequestModel
16-
{
16+
{
1717

18-
/**
18+
/**
1919
* Request body.
2020
* @var PublicAccessBlockConfiguration|null
2121
*/
22+
#[RequiredProperty()]
2223
#[TagProperty(tag: '', position: 'body', rename: 'PublicAccessBlockConfiguration', type: 'xml')]
2324
public ?PublicAccessBlockConfiguration $publicAccessBlockConfiguration;
2425

2526
/**
2627
* PutPublicAccessBlockRequest constructor.
27-
*
2828
* @param PublicAccessBlockConfiguration|null $publicAccessBlockConfiguration Request body.
2929
* @param array|null $options
3030
*/
31-
public function __construct(
31+
public function __construct(
3232
?PublicAccessBlockConfiguration $publicAccessBlockConfiguration = null,
3333
?array $options = null
3434
)
35-
{
35+
{
3636
$this->publicAccessBlockConfiguration = $publicAccessBlockConfiguration;
3737
parent::__construct($options);
3838
}

0 commit comments

Comments
 (0)