Skip to content

Commit f34d397

Browse files
committed
fix cs
1 parent b6dca2d commit f34d397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Domain/Infra/Console/Context/DoctrineEntityContextFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public function getContext(InputInterface $input, StyleInterface $io, array $val
6464
} elseif (false !== $found = array_search($value, $metadata->discriminatorMap, true)) {
6565
$context[$key] = $found;
6666
} else {
67-
throw new \LogicException(sprintf('Invalid entity discriminator "%s" provided.', (string) $value));
67+
throw new \LogicException(sprintf('Invalid entity discriminator %s provided.', json_encode($value)));
6868
}
6969

70-
// @todo add feature to ask additional context values, required by the provided discriminator class
70+
// @todo ask additional context values, required by the provided discriminator class
7171
}
7272

7373
return $context + $this->factory->getContext($input, $io, $values);

0 commit comments

Comments
 (0)