Skip to content

Commit

Permalink
Fix inheritance conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 authored Oct 2, 2024
1 parent e9abe46 commit 91ffd17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/SequenceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ class SequenceManager extends Manager
public function __construct(
private Config $config,
private MetaResource $metaResource,
private SequenceFactory $sequenceFactory
private SequenceFactory $factory
) {}

public function getSequence($entityType, $storeId): SequenceInterface
{
$storeId = (int)$storeId;
$entityType = (string)$entityType;

return $this->sequenceFactory->create([
return $this->factory->create([
'meta' => $this->metaResource->loadByEntityTypeAndStore($entityType, $storeId),
'pattern' => $this->config->getPattern($entityType, $storeId)
]);
Expand Down

0 comments on commit 91ffd17

Please sign in to comment.