We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$this->request->post[$index] ?? '' 改为 $this->request->post[$index] ?? null
这样更合适。因为这个值null可以再用 ??
The text was updated successfully, but these errors were encountered:
建议提交一个PR,我们考虑一下,合适的话就直接合并。
Sorry, something went wrong.
/** * 获取GET参数 * * @param string $index GET参数名 * @return string */ public function get($index) { return $this->request->get[$index] ?? '';//还没~~~ }
No branches or pull requests
$this->request->post[$index] ?? ''
改为
$this->request->post[$index] ?? null
这样更合适。因为这个值null可以再用 ??
The text was updated successfully, but these errors were encountered: