@@ -29,10 +29,10 @@ |
||
| 29 | 29 | { |
| 30 | 30 | $parts = parse_url($url); |
| 31 | 31 | |
| 32 | - if (! Arrays::hasElement($parts, 'host') ) { |
|
| 32 | + if (!Arrays::hasElement($parts, 'host')) { |
|
| 33 | 33 | throw new InvalidUrlException('This URL does not contain a host part'); |
| 34 | 34 | } |
| 35 | - if (! Arrays::hasElement($parts, 'scheme') ) { |
|
| 35 | + if (!Arrays::hasElement($parts, 'scheme')) { |
|
| 36 | 36 | throw new InvalidUrlException('This URL does not contain a scheme part'); |
| 37 | 37 | } |
| 38 | 38 | |