The expression \flipbox\organizations\e...e ? $site->id : null)); of type craft\base\Element|null|craft\base\Element[] adds the type craft\base\Element[] to the return on line 38 which is incompatible with the return type documented by flipbox\organizations\ac...pdateOrganization::find of type flipbox\organizations\elements\Organization|null.