|  | @@ -15,11 +15,11 @@ | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 15 | 15 |      public function getImageTagsOnDockerHub(string $image): array | 
                                                                                                            
                                                            | 16 | 16 |      { | 
                                                                                                            
                                                            | 17 | 17 |          $client = new Client(); | 
                                                                                                            
                                                            | 18 |  | -        $res = $client->request('GET', 'https://registry.hub.docker.com/v1/repositories/'.$image.'/tags'); | 
                                                                                                            
                                                            |  | 18 | +        $res = $client->request('GET', 'https://registry.hub.docker.com/v1/repositories/' . $image . '/tags'); | 
                                                                                                            
                                                            | 19 | 19 |   | 
                                                                                                            
                                                            | 20 | 20 |          $response = \GuzzleHttp\json_decode($res->getBody(), true); | 
                                                                                                            
                                                            | 21 | 21 |   | 
                                                                                                            
                                                            | 22 |  | -        $tags = \array_map(function (array $item) { | 
                                                                                                            
                                                            |  | 22 | +        $tags = \array_map(function(array $item) { | 
                                                                                                            
                                                            | 23 | 23 |              return $item['name']; | 
                                                                                                            
                                                            | 24 | 24 |          }, $response); | 
                                                                                                            
                                                            | 25 | 25 |   | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.