| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Client extends BaseClient |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * 按天查询渠道的分析数据. |
||
| 11 | * |
||
| 12 | * @see https://mta.qq.com/docs/h5_api.html#%E6%B8%A0%E9%81%93%E6%95%88%E6%9E%9C%E5%88%86%E6%9E%90 |
||
| 13 | * |
||
| 14 | * @param string $startDate 开始时间(Y-m-d) |
||
| 15 | * @param string $endDate 结束时间(Y-m-d) |
||
| 16 | * @param array|string $adTags |
||
| 17 | * |
||
| 18 | * @throws \Freyo\MtaH5\Kernel\Exceptions\InvalidConfigException |
||
| 19 | * |
||
| 20 | * @return array|\Freyo\MtaH5\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 21 | */ |
||
| 22 | public function query($startDate, $endDate, $adTags) |
||
| 34 |
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.