code refactoring
- improved comparing & checking - improved string composition
This commit is contained in:
1 parent
bd6e0b5151
commit
9985b814d2
41 files changed
+337
-318
No files matched your search
@@ -79,7 +79,7 @@ class TimerManager {
|
||||
public function unregisterTimerListening(TimerListener $listener, $method) {
|
||||
$removed = false;
|
||||
foreach ($this->timerListenings as $key => &$listening) {
|
||||
if ($listening->listener === $listener && $listening->method == $method) {
|
||||
if ($listening->listener === $listener && $listening->method === $method) {
|
||||
unset($this->timerListenings[$key]);
|
||||
$removed = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user