@@ -64,9 +64,15 @@ |
||
64 | 64 | $show = $args->hasOption('show'); |
65 | 65 | $list = $args->hasOption('list'); |
66 | 66 | |
67 | - if ($images) return $this->shower()->showImages(); |
|
68 | - if ($show) return $this->shower()->showPipelines(); |
|
69 | - if ($list) return $this->shower()->showPipelineIds(); |
|
67 | + if ($images) { |
|
68 | + return $this->shower()->showImages(); |
|
69 | + } |
|
70 | + if ($show) { |
|
71 | + return $this->shower()->showPipelines(); |
|
72 | + } |
|
73 | + if ($list) { |
|
74 | + return $this->shower()->showPipelineIds(); |
|
75 | + } |
|
70 | 76 | |
71 | 77 | return null; |
72 | 78 | } |
@@ -118,7 +118,7 @@ |
||
118 | 118 | */ |
119 | 119 | public function setPipelinesId($id) |
120 | 120 | { |
121 | - $list = (string) $this->getValue('PIPELINES_IDS'); |
|
121 | + $list = (string)$this->getValue('PIPELINES_IDS'); |
|
122 | 122 | $hashes = preg_split('~\s+~', $list, -1, PREG_SPLIT_NO_EMPTY); |
123 | 123 | $hashes = array_map('strtolower', /** @scrutinizer ignore-type */ $hashes); |
124 | 124 |