The expression return $this->urlParamet...eter[$name] ?? $default also could return the type boolean which is incompatible with the documented return type void.
Loading history...
36
}
37
38
/**
39
* 获取查询参数
40
*
41
* @param string|null $name
42
* @param mixed $default
43
* @return void
44
*/
45
public function getQueryParameter(?string $name = null, $default = null) {