Stricted typing + protected on FilteringNoticeStream->filter
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user