Unable to load yii\elasticsearch\ActiveRecord-based fixtures
https://github.com/Codeception/module-yii2/blob/1188aa19b1eaee3514b6d4cbbd9c58261d1aaaa2/src/Codeception/Module/Yii2.php#L606 This strong return type prevents from returning any other ActiveRecord, which isn't based on the yii\db\ActiveRecord. Could this be relaxed?
Which types do you need?
It looks like yii\elasticsearch\ActiveRecord extends yii\db\BaseActiveRecord, so that would suffice.
https://github.com/yiisoft/yii2/blob/master/framework/test/BaseActiveFixture.php#L45
That one is wrong too then.
@Mikk36 i'm open to a PR that relaxes it to baseactiverecord.