| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Client extends BaseClient |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * 按天查询自定义事件的pv\uv\vv\iv. |
||
| 11 | * |
||
| 12 | * @see https://mta.qq.com/docs/h5_api.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E4%BA%8B%E4%BB%B6 |
||
| 13 | * |
||
| 14 | * @param string $startDate 开始时间(Y-m-d) |
||
| 15 | * @param string $endDate 结束时间(Y-m-d) |
||
| 16 | * @param array|string $custom 自定义事件ID |
||
| 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, $custom) |
||
| 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.