Compare commits
2 Commits
30af321215
...
f143b082ae
Author | SHA1 | Date | |
---|---|---|---|
f143b082ae | |||
09408827da |
@ -51,7 +51,7 @@ class Request implements Extension {
|
|||||||
|
|
||||||
public function request(? string $variableName = null, $default = null)
|
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)
|
public function server(? string $variableName = null, $default = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user