1 | <?php |
||||
2 | /** |
||||
3 | * Subreg - RegisterDomain Example |
||||
4 | * |
||||
5 | * @author Vítězslav Dvořák <[email protected]> |
||||
6 | * @copyright (C) 2019 Spoje.Net |
||||
7 | */ |
||||
8 | |||||
9 | namespace Subreg; |
||||
10 | |||||
11 | require_once '../vendor/autoload.php'; |
||||
12 | |||||
13 | \Ease\Shared::instanced()->loadConfig('../tests/config.json'); |
||||
14 | |||||
15 | $client = new Client(\Ease\Shared::instanced()->configuration); |
||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||
16 | |||||
17 | |||||
18 | print_r($client->pricelist('KONCOVA')); |
||||
0 ignored issues
–
show
The call to
Subreg\Client::pricelist() has too many arguments starting with 'KONCOVA' .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue. If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress. Please note the @ignore annotation hint above. ![]() |
|||||
19 | |||||
20 | //print_r($client->pricelist()); |
||||
21 | |||||
22 |