use global namespace

This commit is contained in:
Dennis Eichhorn 2018-08-24 13:05:50 +02:00
parent 052fcf7aaf
commit 861b601c4c
2 changed files with 4 additions and 4 deletions

View File

@ -150,7 +150,7 @@ class Calendar
$this->events[] = $event;
end($this->events);
$key = key($this->events);
$key = \key($this->events);
reset($this->events);
return $key;

View File

@ -186,9 +186,9 @@ class Event
{
$this->people[] = $person;
end($this->people);
$key = key($this->people);
reset($this->people);
\end($this->people);
$key = \key($this->people);
\reset($this->people);
return $key;
}