Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Facades\DB;

/**
* @extends BaseRepository<AccountAttributionDomainObject>
*/
class AccountAttributionRepository extends BaseRepository implements AccountAttributionRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\AccountConfiguration;
use HiEvents\Repository\Interfaces\AccountConfigurationRepositoryInterface;

/**
* @extends BaseRepository<AccountConfigurationDomainObject>
*/
class AccountConfigurationRepository extends BaseRepository implements AccountConfigurationRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Models\AccountMessagingTier;
use HiEvents\Repository\Interfaces\AccountMessagingTierRepositoryInterface;

/**
* @extends BaseRepository<AccountMessagingTierDomainObject>
*/
class AccountMessagingTierRepository extends BaseRepository implements AccountMessagingTierRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/AccountRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
use HiEvents\Repository\Interfaces\AccountRepositoryInterface;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<AccountDomainObject>
*/
class AccountRepository extends BaseRepository implements AccountRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Models\AccountStripePlatform;
use HiEvents\Repository\Interfaces\AccountStripePlatformRepositoryInterface;

/**
* @extends BaseRepository<AccountStripePlatformDomainObject>
*/
class AccountStripePlatformRepository extends BaseRepository implements AccountStripePlatformRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/AccountUserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Models\AccountUser;
use HiEvents\Repository\Interfaces\AccountUserRepositoryInterface;

/**
* @extends BaseRepository<AccountUserDomainObject>
*/
class AccountUserRepository extends BaseRepository implements AccountUserRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\AccountVatSetting;
use HiEvents\Repository\Interfaces\AccountVatSettingRepositoryInterface;

/**
* @extends BaseRepository<AccountVatSettingDomainObject>
*/
class AccountVatSettingRepository extends BaseRepository implements AccountVatSettingRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/AffiliateRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<AffiliateDomainObject>
*/
class AffiliateRepository extends BaseRepository implements AffiliateRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/AttendeeCheckInRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\AttendeeCheckIn;
use HiEvents\Repository\Interfaces\AttendeeCheckInRepositoryInterface;

/**
* @extends BaseRepository<AttendeeCheckInDomainObject>
*/
class AttendeeCheckInRepository extends BaseRepository implements AttendeeCheckInRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/AttendeeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\DB;

/**
* @extends BaseRepository<AttendeeDomainObject>
*/
class AttendeeRepository extends BaseRepository implements AttendeeRepositoryInterface
{
protected function getModel(): string
Expand Down
2 changes: 1 addition & 1 deletion backend/app/Repository/Eloquent/BaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use TypeError;

/**
* @template T
* @template T of DomainObjectInterface
* @implements RepositoryInterface<T>
*/
abstract class BaseRepository implements RepositoryInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<CapacityAssignmentDomainObject>
*/
class CapacityAssignmentRepository extends BaseRepository implements CapacityAssignmentRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/CheckInListRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;

/**
* @extends BaseRepository<CheckInListDomainObject>
*/
class CheckInListRepository extends BaseRepository implements CheckInListRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/EmailTemplateRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Repository\Interfaces\EmailTemplateRepositoryInterface;
use Illuminate\Support\Collection;

/**
* @extends BaseRepository<EmailTemplateDomainObject>
*/
class EmailTemplateRepository extends BaseRepository implements EmailTemplateRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\EventDailyStatistic;
use HiEvents\Repository\Interfaces\EventDailyStatisticRepositoryInterface;

/**
* @extends BaseRepository<EventDailyStatisticDomainObject>
*/
class EventDailyStatisticRepository extends BaseRepository implements EventDailyStatisticRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/EventRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<EventDomainObject>
*/
class EventRepository extends BaseRepository implements EventRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/EventSettingsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\EventSetting;
use HiEvents\Repository\Interfaces\EventSettingsRepositoryInterface;

/**
* @extends BaseRepository<EventSettingDomainObject>
*/
class EventSettingsRepository extends BaseRepository implements EventSettingsRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/EventStatisticRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\EventStatistic;
use HiEvents\Repository\Interfaces\EventStatisticRepositoryInterface;

/**
* @extends BaseRepository<EventStatisticDomainObject>
*/
class EventStatisticRepository extends BaseRepository implements EventStatisticRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/ImageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\Image;
use HiEvents\Repository\Interfaces\ImageRepositoryInterface;

/**
* @extends BaseRepository<ImageDomainObject>
*/
class ImageRepository extends BaseRepository implements ImageRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/InvoiceRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\Invoice;
use HiEvents\Repository\Interfaces\InvoiceRepositoryInterface;

/**
* @extends BaseRepository<InvoiceDomainObject>
*/
class InvoiceRepository extends BaseRepository implements InvoiceRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/MessageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<MessageDomainObject>
*/
class MessageRepository extends BaseRepository implements MessageRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OrderApplicationFee;
use HiEvents\Repository\Interfaces\OrderApplicationFeeRepositoryInterface;

/**
* @extends BaseRepository<OrderApplicationFeeDomainObject>
*/
class OrderApplicationFeeRepository extends BaseRepository implements OrderApplicationFeeRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OrderAuditLogRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Models\OrderAuditLog;
use HiEvents\Repository\Interfaces\OrderAuditLogRepositoryInterface;

/**
* @extends BaseRepository<OrderAuditLogDomainObject>
*/
class OrderAuditLogRepository extends BaseRepository implements OrderAuditLogRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OrderItemRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OrderItem;
use HiEvents\Repository\Interfaces\OrderItemRepositoryInterface;

/**
* @extends BaseRepository<OrderItemDomainObject>
*/
class OrderItemRepository extends BaseRepository implements OrderItemRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OrderPaymentPlatformFee;
use HiEvents\Repository\Interfaces\OrderPaymentPlatformFeeRepositoryInterface;

/**
* @extends BaseRepository<OrderPaymentPlatformFeeDomainObject>
*/
class OrderPaymentPlatformFeeRepository extends BaseRepository implements OrderPaymentPlatformFeeRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OrderRefundRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OrderRefund;
use HiEvents\Repository\Interfaces\OrderRefundRepositoryInterface;

/**
* @extends BaseRepository<OrderRefundDomainObject>
*/
class OrderRefundRepository extends BaseRepository implements OrderRefundRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OrderRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
use HiEvents\DomainObjects\EventDomainObject;
use HiEvents\DomainObjects\AccountDomainObject;

/**
* @extends BaseRepository<OrderDomainObject>
*/
class OrderRepository extends BaseRepository implements OrderRepositoryInterface
{
public function findByEventId(int $eventId, QueryParamsDTO $params): LengthAwarePaginator
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OrganizerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
use HiEvents\Repository\Interfaces\OrganizerRepositoryInterface;
use Illuminate\Pagination\LengthAwarePaginator;

/**
* @extends BaseRepository<OrganizerDomainObject>
*/
class OrganizerRepository extends BaseRepository implements OrganizerRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OrganizerSetting;
use HiEvents\Repository\Interfaces\OrganizerSettingsRepositoryInterface;

/**
* @extends BaseRepository<OrganizerSettingDomainObject>
*/
class OrganizerSettingsRepository extends BaseRepository implements OrganizerSettingsRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/OutgoingMessageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\OutgoingMessage;
use HiEvents\Repository\Interfaces\OutgoingMessageRepositoryInterface;

/**
* @extends BaseRepository<OutgoingMessageDomainObject>
*/
class OutgoingMessageRepository extends BaseRepository implements OutgoingMessageRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/PasswordResetRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\PasswordReset;
use HiEvents\Repository\Interfaces\PasswordResetRepositoryInterface;

/**
* @extends BaseRepository<PasswordResetDomainObject>
*/
class PasswordResetRepository extends BaseRepository implements PasswordResetRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\PasswordResetToken;
use HiEvents\Repository\Interfaces\PasswordResetTokenRepositoryInterface;

/**
* @extends BaseRepository<PasswordResetTokenDomainObject>
*/
class PasswordResetTokenRepository extends BaseRepository implements PasswordResetTokenRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/ProductCategoryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use HiEvents\Repository\Interfaces\ProductCategoryRepositoryInterface;
use Illuminate\Support\Collection;

/**
* @extends BaseRepository<ProductCategoryDomainObject>
*/
class ProductCategoryRepository extends BaseRepository implements ProductCategoryRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/ProductPriceRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\ProductPrice;
use HiEvents\Repository\Interfaces\ProductPriceRepositoryInterface;

/**
* @extends BaseRepository<ProductPriceDomainObject>
*/
class ProductPriceRepository extends BaseRepository implements ProductPriceRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/ProductRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
use RuntimeException;
use Throwable;

/**
* @extends BaseRepository<ProductDomainObject>
*/
class ProductRepository extends BaseRepository implements ProductRepositoryInterface
{
public function findByEventId(int $eventId, QueryParamsDTO $params): LengthAwarePaginator
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/PromoCodeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Database\Eloquent\Builder;

/**
* @extends BaseRepository<PromoCodeDomainObject>
*/
class PromoCodeRepository extends BaseRepository implements PromoCodeRepositoryInterface
{
protected function getModel(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\QuestionAndAnswerView;
use HiEvents\Repository\Interfaces\QuestionAndAnswerViewRepositoryInterface;

/**
* @extends BaseRepository<QuestionAndAnswerViewDomainObject>
*/
class QuestionAndAnswerViewRepository extends BaseRepository implements QuestionAndAnswerViewRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/QuestionAnswerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
use HiEvents\Models\QuestionAnswer;
use HiEvents\Repository\Interfaces\QuestionAnswerRepositoryInterface;

/**
* @extends BaseRepository<QuestionAnswerDomainObject>
*/
class QuestionAnswerRepository extends BaseRepository implements QuestionAnswerRepositoryInterface
{
protected function getModel(): string
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/QuestionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
use Illuminate\Foundation\Application;
use Illuminate\Support\Collection;

/**
* @extends BaseRepository<QuestionDomainObject>
*/
class QuestionRepository extends BaseRepository implements QuestionRepositoryInterface
{
private ProductRepositoryInterface $productRepository;
Expand Down
3 changes: 3 additions & 0 deletions backend/app/Repository/Eloquent/StripeCustomerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use HiEvents\Models\StripeCustomer;
use HiEvents\Repository\Interfaces\StripeCustomerRepositoryInterface;

/**
* @extends BaseRepository<StripeCustomerDomainObject>
*/
class StripeCustomerRepository extends BaseRepository implements StripeCustomerRepositoryInterface
{
protected function getModel(): string
Expand Down
Loading
Loading