Skip to content

Commit

Permalink
fixed typehint in DoctrineStore
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlehrmann committed Dec 18, 2021
1 parent a0a09aa commit 82d5889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store/DoctrineStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static function normalizeRecordedOn(string $recordedOnAsString, Abstract
return $recordedOn;
}

private static function normalizePlayhead(string $playheadAsString, AbstractPlatform $platform): int
private static function normalizePlayhead(string|int $playheadAsString, AbstractPlatform $platform): int
{
$playhead = Type::getType(Types::INTEGER)->convertToPHPValue($playheadAsString, $platform);

Expand Down

0 comments on commit 82d5889

Please sign in to comment.