Compare commits

..

2 Commits

View File

@ -51,7 +51,7 @@ class Request implements Extension {
public function request(? string $variableName = null, $default = null)
{
return $variableName === null ? array_merge(get(null), post(null)) : $this->post($variableName) ?? $this->get($variableName) ?? $default;
return $variableName === null ? array_merge($this->get(), $this->post()) : $this->post($variableName) ?? $this->get($variableName) ?? $default;
}
public function server(? string $variableName = null, $default = null)