| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2.0185 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 42 | 7 | protected function executeQuery(string $url): AddressCollection  | 
            |
| 43 |     { | 
            ||
| 44 | 7 | $content = $this->getUrlContents($url);  | 
            |
| 45 | 2 | $data = json_decode($content, true);  | 
            |
| 46 | |||
| 47 | 2 |         if (!$data) { | 
            |
| 48 | return new AddressCollection([]);  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 51 | 2 | return $this->prepareAddressCollection($data);  | 
            |
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |