Compare commits

..

No commits in common. "f143b082aed67d02511b20f0fc867ecfb49fb46f" and "30af3212152d05d18554ebfbabb2ce1e8ddd5c26" have entirely different histories.

View File

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