set better matching type hint on virtual feed object

This commit is contained in:
Andrew Dolgov 2021-11-15 08:19:44 +03:00
parent 676c5787e7
commit 2493c9cddd
1 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,8 @@ class Counters {
if (is_array($feeds)) {
foreach ($feeds as $feed) {
/** @var IVirtualFeed $feed['sender'] */
if (!implements_interface($feed['sender'], 'IVirtualFeed'))
continue;