Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class TestProxy |
||
6 | { |
||
7 | protected $types; |
||
8 | |||
9 | public static function go($proxy) |
||
14 | } |
||
15 | |||
16 | /** |
||
17 | * Test si un proxy n'est pas déjà cramé par Google. Si aucun proxy n'est enregistré pour |
||
18 | * la requête (via setProxy), la fonction test l'IP locale. |
||
19 | * |
||
20 | * @return bool |
||
21 | */ |
||
22 | public function isProxyValid(?string $proxy = null) |
||
37 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.