Stricted typing + protected on FilteringNoticeStream->filter

This commit is contained in:
Mikael Nordfeldth
2016-03-02 11:40:43 +01:00
parent 79d68a52d0
commit b4271a3533
4 changed files with 6 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ class EventsNoticeStream extends ScopingNoticeStream
parent::__construct(new CachingNoticeStream($stream, $key), $scoped);
}
function filter($notice)
protected function filter(Notice $notice)
{
if (!parent::filter($notice)) {
// if not in our scope, return false