full_multiple_companies_support) { return true; } if (! $this->company_id) { if (is_null($target->company_id)) { return true; } return (bool) $settings->null_company_is_floater; } if ($target instanceof User) { return $target->canReceiveFromCompany((int) $this->company_id); } if (is_null($target->company_id)) { return (bool) $settings->null_company_is_floater; } return (int) $target->company_id === (int) $this->company_id; } }