validate your copy pasted crap

This commit is contained in:
Steffen Schröder 2014-04-28 17:53:40 +02:00
parent 906146c3e1
commit 2befc24d17

View File

@ -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) {