mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-03 10:18:42 +00:00
use global namespace
This commit is contained in:
parent
052fcf7aaf
commit
861b601c4c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user