Skip to content

Commit

Permalink
TASK: Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 14, 2024
1 parent 66c2221 commit eb854f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function serializePropertyValue(
$serializedPropertyValue = $this->serializer->normalize($propertyValue);
} catch (NotEncodableValueException | NotNormalizableValueException $e) {
throw new \RuntimeException(
sprintf('There was a problem serializing property %s with value "%s".', $propertyName->value, get_debug_type($propertyValue)),
sprintf('There was a problem serializing property %s with value "%s".', $propertyName->value, get_debug_type($propertyValue)),
1594842314,
$e
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ final class EventMigrationService implements ContentRepositoryServiceInterface
private bool $eventsTableWasUpdated = false;

public function __construct(
private readonly Projections $projections,
private readonly ContentRepositoryId $contentRepositoryId,
private readonly ContentRepository $contentRepository,
private readonly EventStoreInterface $eventStore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ final class EventMigrationServiceFactory implements ContentRepositoryServiceFact
{
public function __construct(
private readonly Connection $connection,
) {}
) {
}

public function build(ContentRepositoryServiceFactoryDependencies $serviceFactoryDependencies): ContentRepositoryServiceInterface
{
Expand All @@ -31,7 +32,6 @@ public function build(ContentRepositoryServiceFactoryDependencies $serviceFactor
}

return new EventMigrationService(
$serviceFactoryDependencies->projections,
$serviceFactoryDependencies->contentRepositoryId,
$serviceFactoryDependencies->contentRepository,
$serviceFactoryDependencies->eventStore,
Expand Down

0 comments on commit eb854f7

Please sign in to comment.