updated backend
This commit is contained in:
parent
1fea0f4fe7
commit
11521c2339
3459 changed files with 72735 additions and 168535 deletions
|
|
@ -21,7 +21,7 @@ class RequestStack
|
|||
/**
|
||||
* @var Request[]
|
||||
*/
|
||||
private $requests = array();
|
||||
private $requests = [];
|
||||
|
||||
/**
|
||||
* Pushes a Request on the stack.
|
||||
|
|
@ -47,7 +47,7 @@ class RequestStack
|
|||
public function pop()
|
||||
{
|
||||
if (!$this->requests) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return array_pop($this->requests);
|
||||
|
|
@ -73,7 +73,7 @@ class RequestStack
|
|||
public function getMasterRequest()
|
||||
{
|
||||
if (!$this->requests) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->requests[0];
|
||||
|
|
@ -95,7 +95,7 @@ class RequestStack
|
|||
$pos = \count($this->requests) - 2;
|
||||
|
||||
if (!isset($this->requests[$pos])) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->requests[$pos];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue