Skip to content

Commit

Permalink
fixes #1060
Browse files Browse the repository at this point in the history
  • Loading branch information
jguittard committed Apr 28, 2024
1 parent 6dd9cce commit dc97598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/etl/src/Flow/ETL/Row/Entry/Type/Uuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(string|\Ramsey\Uuid\UuidInterface|\Symfony\Component
{
if (\is_string($value)) {
try {
if (\class_exists(\Ramsey\Uuid\UuidInterface::class)) {
if (\class_exists(\Ramsey\Uuid\Uuid::class)) {
$this->value = (string) \Ramsey\Uuid\Uuid::fromString($value);
} elseif (\class_exists(\Symfony\Component\Uid\Uuid::class)) {
$this->value = \Symfony\Component\Uid\Uuid::fromString($value)->toRfc4122();
Expand Down

0 comments on commit dc97598

Please sign in to comment.