Skip to content

Commit

Permalink
SCA
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBean committed Sep 18, 2024
1 parent 7521592 commit 5e2daf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Actions/RetryBulkRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function retry(BulkRequest $bulkRequest, bool $onlyFailed): ?BulkRequest
{
/** @var array<int, mixed> $payload */
$payload = [];
/** @var array<int, Model> $subjects */
/** @var array<int, ?Model> $subjects */
$subjects = [];

$operations = $bulkRequest->operations;
Expand Down
4 changes: 2 additions & 2 deletions src/Client/MagentoAsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MagentoAsync

protected ?Model $subject = null;

/** @var array<int, Model> */
/** @var array<int, ?Model> */
protected array $subjects = [];

public function __construct(
Expand Down Expand Up @@ -70,7 +70,7 @@ public function subject(Model $subject): static
return $this;
}

/** @param array<int, Model> $subjects */
/** @param array<int, ?Model> $subjects */
public function subjects(array $subjects): static
{
$this->subjects = $subjects;
Expand Down

0 comments on commit 5e2daf3

Please sign in to comment.