|
@@ -124,7 +124,7 @@ discard block |
|
|
block discarded – undo |
|
124
|
124
|
} catch (FederatedItemException $e) { |
|
125
|
125
|
if ($input->getOption('status-code')) { |
|
126
|
126
|
throw new FederatedItemException( |
|
127
|
|
- ' [' . get_class($e) . ', ' . $e->getStatus() . ']' . "\n" . $e->getMessage() |
|
|
127
|
+ ' ['.get_class($e).', '.$e->getStatus().']'."\n".$e->getMessage() |
|
128
|
128
|
); |
|
129
|
129
|
} |
|
130
|
130
|
|
|
@@ -136,9 +136,9 @@ discard block |
|
|
block discarded – undo |
|
136
|
136
|
} elseif (strtolower($input->getOption('output')) !== 'none') { |
|
137
|
137
|
/** @var Circle $circle */ |
|
138
|
138
|
$circle = $this->deserialize($outcome, Circle::class); |
|
139
|
|
- $output->writeln('Id: <info>' . $circle->getSingleId() . '</info>'); |
|
140
|
|
- $output->writeln('Name: <info>' . $circle->getDisplayName() . '</info>'); |
|
141
|
|
- $output->writeln('Owner: <info>' . $circle->getOwner()->getDisplayName() . '</info>'); |
|
|
139
|
+ $output->writeln('Id: <info>'.$circle->getSingleId().'</info>'); |
|
|
140
|
+ $output->writeln('Name: <info>'.$circle->getDisplayName().'</info>'); |
|
|
141
|
+ $output->writeln('Owner: <info>'.$circle->getOwner()->getDisplayName().'</info>'); |
|
142
|
142
|
} |
|
143
|
143
|
|
|
144
|
144
|
return 0; |
Please login to merge, or discard this patch.