Skip to content

Commit 2a6c324

Browse files
committed
chore: remove unneeded docblock changes
1 parent 75270b8 commit 2a6c324

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/Resources/Moderations.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function create(array $parameters): CreateResponse
2424
{
2525
$payload = Payload::create('moderations', $parameters);
2626

27-
/** @var Response<array{ id: string, model: string, results: array<int, array{categories: array<string, bool>, category_scores: array<string, float>,flagged: bool,category_applied_input_types?: array<string, array<int, string>>}>}> $response */
27+
/** @var Response<array{id: string, model: string, results: array<int, array{categories: array<string, bool>, category_scores: array<string, float>,flagged: bool,category_applied_input_types?: array<string, array<int, string>>}>}> $response */
2828
$response = $this->transporter->requestObject($payload);
2929

3030
return CreateResponse::from($response->data(), $response->meta());

src/Responses/Moderations/CreateResponseResult.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ private function __construct(
2020
// ..
2121
}
2222

23-
/** @param array{categories: array<string, bool>, category_scores: array<string, float>, flagged: bool, category_applied_input_types?: array<string, array<int, string>>} $attributes */
23+
/**
24+
* @param array{categories: array<string, bool>, category_scores: array<string, float>, flagged: bool, category_applied_input_types?: array<string, array<int, string>>} $attributes
25+
*/
2426
public static function from(array $attributes): self
2527
{
2628
/** @var array<string, CreateResponseCategory> $categories */
@@ -45,7 +47,9 @@ public static function from(array $attributes): self
4547
);
4648
}
4749

48-
/** @return array{ categories: array<string, bool>, category_scores: array<string, float>, flagged: bool, category_applied_input_types?: array<string, array<int, string>>} */
50+
/**
51+
* @return array{ categories: array<string, bool>, category_scores: array<string, float>, flagged: bool, category_applied_input_types?: array<string, array<int, string>>}
52+
*/
4953
public function toArray(): array
5054
{
5155
$categories = [];

0 commit comments

Comments
 (0)