The expression \flipbox\organizations\r...::findOne($identifier); of type yii\db\ActiveRecordInterface|array|null adds the type array to the return on line 34 which is incompatible with the return type documented by flipbox\organizations\ac...wOrganizationType::find of type flipbox\organizations\re...s\OrganizationType|null.