| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | private function normalizeAddress(AddressInterface $address) |
||
| 35 | { |
||
| 36 | return array_map(function ($value) { |
||
| 37 | return trim(strtolower($value)); |
||
| 38 | }, [ |
||
| 39 | $address->getCity(), |
||
| 40 | $address->getCompany(), |
||
| 41 | $address->getCountryCode(), |
||
| 42 | $address->getFirstName(), |
||
| 43 | $address->getLastName(), |
||
| 44 | $address->getPhoneNumber(), |
||
| 45 | $address->getPostcode(), |
||
| 46 | $address->getProvinceCode(), |
||
| 47 | $address->getProvinceName(), |
||
| 48 | $address->getStreet(), |
||
| 49 | ]); |
||
| 50 | } |
||
| 51 | } |
||
| 52 |