Skip to content

Commit

Permalink
ECS-427 No need to use redefined state
Browse files Browse the repository at this point in the history
  • Loading branch information
valerialukinykh committed Oct 14, 2024
1 parent 7156177 commit b2e0007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WithSetPkTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function getVariables(mixed &$state, array $keys): array

protected function getSequenceState(array $variables, Sequence $sequence): self
{
return $this->state(function () use ($variables, $sequence) {
return parent::state(function () use ($variables, $sequence) {
$values = $variables[$sequence->index % $sequence->count] ?? [null, null];

$isNewSequence = true;
Expand Down

0 comments on commit b2e0007

Please sign in to comment.