@@ -59,13 +59,13 @@ |
||
59 | 59 | { |
60 | 60 | $table->addRows(array( |
61 | 61 | array('encode:', 'STR:', (string) $uuid), |
62 | - array('', 'INT:', (string) $uuid->getInteger()), |
|
62 | + array('', 'INT:', (string) $uuid->getInteger()), |
|
63 | 63 | )); |
64 | 64 | |
65 | 65 | if ($uuid->getVariant() == Uuid::RFC_4122) { |
66 | 66 | $table->addRows(array( |
67 | - array('decode:', 'variant:',$this->getFormattedVariant($uuid)), |
|
68 | - array('', 'version:', $this->getFormattedVersion($uuid)), |
|
67 | + array('decode:', 'variant:', $this->getFormattedVariant($uuid)), |
|
68 | + array('', 'version:', $this->getFormattedVersion($uuid)), |
|
69 | 69 | )); |
70 | 70 | |
71 | 71 | $table->addRows($this->getContent($uuid)); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | protected function execute(InputInterface $input, OutputInterface $output) |
53 | 53 | { |
54 | 54 | if (!Uuid::isValid($input->getArgument('uuid'))) { |
55 | - throw new Exception('Invalid UUID (' . $input->getArgument('uuid') . ')'); |
|
55 | + throw new Exception('Invalid UUID ('.$input->getArgument('uuid').')'); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | $uuid = Uuid::fromString($input->getArgument('uuid')); |
@@ -22,9 +22,9 @@ |
||
22 | 22 | public function getContent(UuidInterface $uuid) |
23 | 23 | { |
24 | 24 | return array( |
25 | - array('', 'content:', 'time: ' . $uuid->getDateTime()->format('c')), |
|
26 | - array('', '', 'clock: ' . $uuid->getClockSequence() . ' (usually random)'), |
|
27 | - array('', '', 'node: ' . substr(chunk_split($uuid->getNodeHex(), 2, ':'), 0, -1)), |
|
25 | + array('', 'content:', 'time: '.$uuid->getDateTime()->format('c')), |
|
26 | + array('', '', 'clock: '.$uuid->getClockSequence().' (usually random)'), |
|
27 | + array('', '', 'node: '.substr(chunk_split($uuid->getNodeHex(), 2, ':'), 0, -1)), |
|
28 | 28 | ); |
29 | 29 | } |
30 | 30 | } |