@@ -130,9 +130,6 @@ protected function configure() {
130
130
* @param OutputInterface $output
131
131
*
132
132
* @return int
133
- * @throws RemoteInstanceException
134
- * @throws RemoteInstanceNotFoundException
135
- * @throws RemoteResourceNotFoundException
136
133
*/
137
134
protected function execute (InputInterface $ input , OutputInterface $ output ): int {
138
135
$ rp = $ this ->getRPFromInstances (
@@ -146,7 +143,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
146
143
$ output = $ output ->section ();
147
144
148
145
$ table = new Table ($ output );
149
- $ table ->setHeaders (['Restoring Point ' , 'Date ' , 'Status ' , 'Parent ' , 'Instance ' , 'Health ' ]);
146
+ $ table ->setHeaders (['Restoring Point ' , 'Date ' , 'Parent ' , 'Status ' , 'Instance ' , 'Health ' ]);
150
147
$ table ->render ();
151
148
152
149
foreach ($ rp as $ pointId => $ item ) {
@@ -175,8 +172,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
175
172
[
176
173
($ fresh ) ? $ displayPointId : '' ,
177
174
($ fresh ) ? date ('Y-m-d H:i:s ' , $ point ->getDate ()) : '' ,
178
- ($ fresh ) ? implode (', ' , $ status ) : '' ,
179
175
($ fresh ) ? $ point ->getParent () : '' ,
176
+ implode (', ' , $ status ),
180
177
$ instance ,
181
178
$ this ->displayStyleHealth ($ point ),
182
179
'<error> ' . $ issue . '</error> '
@@ -199,7 +196,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
199
196
*
200
197
* @return array
201
198
*/
202
- private function getRPFromInstances (OutputInterface $ output , bool $ local , string $ remote , string $ external
199
+ private function getRPFromInstances (
200
+ OutputInterface $ output ,
201
+ bool $ local ,
202
+ string $ remote ,
203
+ string $ external
203
204
): array {
204
205
if ($ local ) {
205
206
$ instances = [RemoteInstance::LOCAL ];
0 commit comments