validate your copy pasted crap
This commit is contained in:
parent
906146c3e1
commit
2befc24d17
@ -88,10 +88,10 @@ class TimerManager {
|
||||
/**
|
||||
* Remove a Script Callback Listener
|
||||
*
|
||||
* @param CallbackListener $listener
|
||||
* @param TimerListener $listener
|
||||
* @return bool
|
||||
*/
|
||||
public function unregisterTimerListenings(CallbackListener $listener) {
|
||||
public function unregisterTimerListenings(TimerListener $listener) {
|
||||
$removed = false;
|
||||
foreach($this->timerListenings as $key => &$listening) {
|
||||
if ($listening->listener != $listener) {
|
||||
|
Loading…
Reference in New Issue
Block a user