Total Complexity | 13 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | class Url |
||
12 | { |
||
13 | /** |
||
14 | * @param string $url |
||
15 | * |
||
16 | * @return bool|string |
||
17 | * |
||
18 | * @see https://bugs.php.net/bug.php?id=52923 |
||
19 | * @see https://www.php.net/manual/en/function.parse-url.php#114817 |
||
20 | */ |
||
21 | public static function normalizeUrl(string $url) |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @param string $domain |
||
56 | * |
||
57 | * @return bool |
||
58 | */ |
||
59 | public static function checkDomain(string $domain): bool |
||
66 |