Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Chore/generic docs cleanup (#1046)

Dave Earleye93b2b02d4f5
diff --git a/backend/app/Repository/Eloquent/AccountAttributionRepository.php b/backend/app/Repository/Eloquent/AccountAttributionRepository.php
index 44ced9ebb..c2c9a93f0 100644
--- a/backend/app/Repository/Eloquent/AccountAttributionRepository.php
+++ b/backend/app/Repository/Eloquent/AccountAttributionRepository.php
@@ -11,6 +11,9 @@ use HiEvents\Repository\Interfaces\AccountAttributionRepositoryInterface;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Facades\DB;
+/**
+ * @extends BaseRepository<AccountAttributionDomainObject>
+ */
class AccountAttributionRepository extends BaseRepository implements AccountAttributionRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountConfigurationRepository.php b/backend/app/Repository/Eloquent/AccountConfigurationRepository.php
index 5b10131f8..3a2a5a193 100644
--- a/backend/app/Repository/Eloquent/AccountConfigurationRepository.php
+++ b/backend/app/Repository/Eloquent/AccountConfigurationRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\AccountConfigurationDomainObject;
use HiEvents\Models\AccountConfiguration;
use HiEvents\Repository\Interfaces\AccountConfigurationRepositoryInterface;
+/**
+ * @extends BaseRepository<AccountConfigurationDomainObject>
+ */
class AccountConfigurationRepository extends BaseRepository implements AccountConfigurationRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountMessagingTierRepository.php b/backend/app/Repository/Eloquent/AccountMessagingTierRepository.php
index 3af0a344b..5717e4b54 100644
--- a/backend/app/Repository/Eloquent/AccountMessagingTierRepository.php
+++ b/backend/app/Repository/Eloquent/AccountMessagingTierRepository.php
@@ -8,6 +8,9 @@ use HiEvents\DomainObjects\AccountMessagingTierDomainObject;
use HiEvents\Models\AccountMessagingTier;
use HiEvents\Repository\Interfaces\AccountMessagingTierRepositoryInterface;
+/**
+ * @extends BaseRepository<AccountMessagingTierDomainObject>
+ */
class AccountMessagingTierRepository extends BaseRepository implements AccountMessagingTierRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountRepository.php b/backend/app/Repository/Eloquent/AccountRepository.php
index e611137a6..ffeb68357 100644
--- a/backend/app/Repository/Eloquent/AccountRepository.php
+++ b/backend/app/Repository/Eloquent/AccountRepository.php
@@ -9,6 +9,9 @@ use HiEvents\Models\Account;
use HiEvents\Repository\Interfaces\AccountRepositoryInterface;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<AccountDomainObject>
+ */
class AccountRepository extends BaseRepository implements AccountRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountStripePlatformRepository.php b/backend/app/Repository/Eloquent/AccountStripePlatformRepository.php
index 05a5ffcd0..d8f45cc0a 100644
--- a/backend/app/Repository/Eloquent/AccountStripePlatformRepository.php
+++ b/backend/app/Repository/Eloquent/AccountStripePlatformRepository.php
@@ -8,6 +8,9 @@ use HiEvents\DomainObjects\AccountStripePlatformDomainObject;
use HiEvents\Models\AccountStripePlatform;
use HiEvents\Repository\Interfaces\AccountStripePlatformRepositoryInterface;
+/**
+ * @extends BaseRepository<AccountStripePlatformDomainObject>
+ */
class AccountStripePlatformRepository extends BaseRepository implements AccountStripePlatformRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountUserRepository.php b/backend/app/Repository/Eloquent/AccountUserRepository.php
index e3c6efb32..042908509 100644
--- a/backend/app/Repository/Eloquent/AccountUserRepository.php
+++ b/backend/app/Repository/Eloquent/AccountUserRepository.php
@@ -8,6 +8,9 @@ use HiEvents\DomainObjects\AccountUserDomainObject;
use HiEvents\Models\AccountUser;
use HiEvents\Repository\Interfaces\AccountUserRepositoryInterface;
+/**
+ * @extends BaseRepository<AccountUserDomainObject>
+ */
class AccountUserRepository extends BaseRepository implements AccountUserRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AccountVatSettingRepository.php b/backend/app/Repository/Eloquent/AccountVatSettingRepository.php
index 4aad33234..6e9a7393f 100644
--- a/backend/app/Repository/Eloquent/AccountVatSettingRepository.php
+++ b/backend/app/Repository/Eloquent/AccountVatSettingRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\AccountVatSettingDomainObject;
use HiEvents\Models\AccountVatSetting;
use HiEvents\Repository\Interfaces\AccountVatSettingRepositoryInterface;
+/**
+ * @extends BaseRepository<AccountVatSettingDomainObject>
+ */
class AccountVatSettingRepository extends BaseRepository implements AccountVatSettingRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AffiliateRepository.php b/backend/app/Repository/Eloquent/AffiliateRepository.php
index 9dfe87fdd..1fdacd195 100644
--- a/backend/app/Repository/Eloquent/AffiliateRepository.php
+++ b/backend/app/Repository/Eloquent/AffiliateRepository.php
@@ -13,6 +13,9 @@ use HiEvents\Repository\Interfaces\AffiliateRepositoryInterface;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<AffiliateDomainObject>
+ */
class AffiliateRepository extends BaseRepository implements AffiliateRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AttendeeCheckInRepository.php b/backend/app/Repository/Eloquent/AttendeeCheckInRepository.php
index d6d31e76a..7aedb6994 100644
--- a/backend/app/Repository/Eloquent/AttendeeCheckInRepository.php
+++ b/backend/app/Repository/Eloquent/AttendeeCheckInRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\AttendeeCheckInDomainObject;
use HiEvents\Models\AttendeeCheckIn;
use HiEvents\Repository\Interfaces\AttendeeCheckInRepositoryInterface;
+/**
+ * @extends BaseRepository<AttendeeCheckInDomainObject>
+ */
class AttendeeCheckInRepository extends BaseRepository implements AttendeeCheckInRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/AttendeeRepository.php b/backend/app/Repository/Eloquent/AttendeeRepository.php
index a65aa4c5e..1fae4a7e5 100644
--- a/backend/app/Repository/Eloquent/AttendeeRepository.php
+++ b/backend/app/Repository/Eloquent/AttendeeRepository.php
@@ -17,6 +17,9 @@ use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\DB;
+/**
+ * @extends BaseRepository<AttendeeDomainObject>
+ */
class AttendeeRepository extends BaseRepository implements AttendeeRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/BaseRepository.php b/backend/app/Repository/Eloquent/BaseRepository.php
index 973ac658d..c3d98d1c8 100644
--- a/backend/app/Repository/Eloquent/BaseRepository.php
+++ b/backend/app/Repository/Eloquent/BaseRepository.php
@@ -24,7 +24,7 @@ use Illuminate\Support\Str;
use TypeError;
/**
- * @template T
+ * @template T of DomainObjectInterface
* @implements RepositoryInterface<T>
*/
abstract class BaseRepository implements RepositoryInterface
diff --git a/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php b/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php
index 089e05ed5..5ad644952 100644
--- a/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php
+++ b/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php
@@ -10,6 +10,9 @@ use HiEvents\Repository\Interfaces\CapacityAssignmentRepositoryInterface;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<CapacityAssignmentDomainObject>
+ */
class CapacityAssignmentRepository extends BaseRepository implements CapacityAssignmentRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/CheckInListRepository.php b/backend/app/Repository/Eloquent/CheckInListRepository.php
index 00a60518f..0e6c62e08 100644
--- a/backend/app/Repository/Eloquent/CheckInListRepository.php
+++ b/backend/app/Repository/Eloquent/CheckInListRepository.php
@@ -13,6 +13,9 @@ use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
+/**
+ * @extends BaseRepository<CheckInListDomainObject>
+ */
class CheckInListRepository extends BaseRepository implements CheckInListRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/EmailTemplateRepository.php b/backend/app/Repository/Eloquent/EmailTemplateRepository.php
index cd8cab8f9..fca1008bb 100644
--- a/backend/app/Repository/Eloquent/EmailTemplateRepository.php
+++ b/backend/app/Repository/Eloquent/EmailTemplateRepository.php
@@ -8,6 +8,9 @@ use HiEvents\Models\EmailTemplate;
use HiEvents\Repository\Interfaces\EmailTemplateRepositoryInterface;
use Illuminate\Support\Collection;
+/**
+ * @extends BaseRepository<EmailTemplateDomainObject>
+ */
class EmailTemplateRepository extends BaseRepository implements EmailTemplateRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/EventDailyStatisticRepository.php b/backend/app/Repository/Eloquent/EventDailyStatisticRepository.php
index aff29ec43..0a9d63f90 100644
--- a/backend/app/Repository/Eloquent/EventDailyStatisticRepository.php
+++ b/backend/app/Repository/Eloquent/EventDailyStatisticRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\EventDailyStatisticDomainObject;
use HiEvents\Models\EventDailyStatistic;
use HiEvents\Repository\Interfaces\EventDailyStatisticRepositoryInterface;
+/**
+ * @extends BaseRepository<EventDailyStatisticDomainObject>
+ */
class EventDailyStatisticRepository extends BaseRepository implements EventDailyStatisticRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/EventRepository.php b/backend/app/Repository/Eloquent/EventRepository.php
index 8dc70543a..824e9d2cc 100644
--- a/backend/app/Repository/Eloquent/EventRepository.php
+++ b/backend/app/Repository/Eloquent/EventRepository.php
@@ -18,6 +18,9 @@ use HiEvents\Repository\Interfaces\EventRepositoryInterface;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<EventDomainObject>
+ */
class EventRepository extends BaseRepository implements EventRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/EventSettingsRepository.php b/backend/app/Repository/Eloquent/EventSettingsRepository.php
index 731bf9305..f7d39dd17 100644
--- a/backend/app/Repository/Eloquent/EventSettingsRepository.php
+++ b/backend/app/Repository/Eloquent/EventSettingsRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\EventSettingDomainObject;
use HiEvents\Models\EventSetting;
use HiEvents\Repository\Interfaces\EventSettingsRepositoryInterface;
+/**
+ * @extends BaseRepository<EventSettingDomainObject>
+ */
class EventSettingsRepository extends BaseRepository implements EventSettingsRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/EventStatisticRepository.php b/backend/app/Repository/Eloquent/EventStatisticRepository.php
index 2bc554b21..7c5a184df 100644
--- a/backend/app/Repository/Eloquent/EventStatisticRepository.php
+++ b/backend/app/Repository/Eloquent/EventStatisticRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\EventStatisticDomainObject;
use HiEvents\Models\EventStatistic;
use HiEvents\Repository\Interfaces\EventStatisticRepositoryInterface;
+/**
+ * @extends BaseRepository<EventStatisticDomainObject>
+ */
class EventStatisticRepository extends BaseRepository implements EventStatisticRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/ImageRepository.php b/backend/app/Repository/Eloquent/ImageRepository.php
index fab4b21ea..d36c52d88 100644
--- a/backend/app/Repository/Eloquent/ImageRepository.php
+++ b/backend/app/Repository/Eloquent/ImageRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\ImageDomainObject;
use HiEvents\Models\Image;
use HiEvents\Repository\Interfaces\ImageRepositoryInterface;
+/**
+ * @extends BaseRepository<ImageDomainObject>
+ */
class ImageRepository extends BaseRepository implements ImageRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/InvoiceRepository.php b/backend/app/Repository/Eloquent/InvoiceRepository.php
index b7a85edb4..3103751eb 100644
--- a/backend/app/Repository/Eloquent/InvoiceRepository.php
+++ b/backend/app/Repository/Eloquent/InvoiceRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\InvoiceDomainObject;
use HiEvents\Models\Invoice;
use HiEvents\Repository\Interfaces\InvoiceRepositoryInterface;
+/**
+ * @extends BaseRepository<InvoiceDomainObject>
+ */
class InvoiceRepository extends BaseRepository implements InvoiceRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/MessageRepository.php b/backend/app/Repository/Eloquent/MessageRepository.php
index e403c0712..d47bd35ab 100644
--- a/backend/app/Repository/Eloquent/MessageRepository.php
+++ b/backend/app/Repository/Eloquent/MessageRepository.php
@@ -12,6 +12,9 @@ use HiEvents\Repository\Interfaces\MessageRepositoryInterface;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<MessageDomainObject>
+ */
class MessageRepository extends BaseRepository implements MessageRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderApplicationFeeRepository.php b/backend/app/Repository/Eloquent/OrderApplicationFeeRepository.php
index a3aab12e1..2120ae070 100644
--- a/backend/app/Repository/Eloquent/OrderApplicationFeeRepository.php
+++ b/backend/app/Repository/Eloquent/OrderApplicationFeeRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OrderApplicationFeeDomainObject;
use HiEvents\Models\OrderApplicationFee;
use HiEvents\Repository\Interfaces\OrderApplicationFeeRepositoryInterface;
+/**
+ * @extends BaseRepository<OrderApplicationFeeDomainObject>
+ */
class OrderApplicationFeeRepository extends BaseRepository implements OrderApplicationFeeRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderAuditLogRepository.php b/backend/app/Repository/Eloquent/OrderAuditLogRepository.php
index 3b1f14599..392d8c788 100644
--- a/backend/app/Repository/Eloquent/OrderAuditLogRepository.php
+++ b/backend/app/Repository/Eloquent/OrderAuditLogRepository.php
@@ -8,6 +8,9 @@ use HiEvents\DomainObjects\OrderAuditLogDomainObject;
use HiEvents\Models\OrderAuditLog;
use HiEvents\Repository\Interfaces\OrderAuditLogRepositoryInterface;
+/**
+ * @extends BaseRepository<OrderAuditLogDomainObject>
+ */
class OrderAuditLogRepository extends BaseRepository implements OrderAuditLogRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderItemRepository.php b/backend/app/Repository/Eloquent/OrderItemRepository.php
index 08c5d26f3..72384aa8b 100644
--- a/backend/app/Repository/Eloquent/OrderItemRepository.php
+++ b/backend/app/Repository/Eloquent/OrderItemRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OrderItemDomainObject;
use HiEvents\Models\OrderItem;
use HiEvents\Repository\Interfaces\OrderItemRepositoryInterface;
+/**
+ * @extends BaseRepository<OrderItemDomainObject>
+ */
class OrderItemRepository extends BaseRepository implements OrderItemRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderPaymentPlatformFeeRepository.php b/backend/app/Repository/Eloquent/OrderPaymentPlatformFeeRepository.php
index 7cfa12cfa..5523a3152 100644
--- a/backend/app/Repository/Eloquent/OrderPaymentPlatformFeeRepository.php
+++ b/backend/app/Repository/Eloquent/OrderPaymentPlatformFeeRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OrderPaymentPlatformFeeDomainObject;
use HiEvents\Models\OrderPaymentPlatformFee;
use HiEvents\Repository\Interfaces\OrderPaymentPlatformFeeRepositoryInterface;
+/**
+ * @extends BaseRepository<OrderPaymentPlatformFeeDomainObject>
+ */
class OrderPaymentPlatformFeeRepository extends BaseRepository implements OrderPaymentPlatformFeeRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderRefundRepository.php b/backend/app/Repository/Eloquent/OrderRefundRepository.php
index 4e81d0963..cfd4ef7ce 100644
--- a/backend/app/Repository/Eloquent/OrderRefundRepository.php
+++ b/backend/app/Repository/Eloquent/OrderRefundRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OrderRefundDomainObject;
use HiEvents\Models\OrderRefund;
use HiEvents\Repository\Interfaces\OrderRefundRepositoryInterface;
+/**
+ * @extends BaseRepository<OrderRefundDomainObject>
+ */
class OrderRefundRepository extends BaseRepository implements OrderRefundRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrderRepository.php b/backend/app/Repository/Eloquent/OrderRepository.php
index eb4071cad..5820db882 100644
--- a/backend/app/Repository/Eloquent/OrderRepository.php
+++ b/backend/app/Repository/Eloquent/OrderRepository.php
@@ -22,6 +22,9 @@ use Illuminate\Support\Facades\DB;
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
diff --git a/backend/app/Repository/Eloquent/OrganizerRepository.php b/backend/app/Repository/Eloquent/OrganizerRepository.php
index 3257efc95..644923978 100644
--- a/backend/app/Repository/Eloquent/OrganizerRepository.php
+++ b/backend/app/Repository/Eloquent/OrganizerRepository.php
@@ -13,6 +13,9 @@ use HiEvents\Repository\DTO\Organizer\OrganizerStatsResponseDTO;
use HiEvents\Repository\Interfaces\OrganizerRepositoryInterface;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends BaseRepository<OrganizerDomainObject>
+ */
class OrganizerRepository extends BaseRepository implements OrganizerRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OrganizerSettingsRepository.php b/backend/app/Repository/Eloquent/OrganizerSettingsRepository.php
index f792e5d78..ab1eed74e 100644
--- a/backend/app/Repository/Eloquent/OrganizerSettingsRepository.php
+++ b/backend/app/Repository/Eloquent/OrganizerSettingsRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OrganizerSettingDomainObject;
use HiEvents\Models\OrganizerSetting;
use HiEvents\Repository\Interfaces\OrganizerSettingsRepositoryInterface;
+/**
+ * @extends BaseRepository<OrganizerSettingDomainObject>
+ */
class OrganizerSettingsRepository extends BaseRepository implements OrganizerSettingsRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/OutgoingMessageRepository.php b/backend/app/Repository/Eloquent/OutgoingMessageRepository.php
index b977237a6..119d0251d 100644
--- a/backend/app/Repository/Eloquent/OutgoingMessageRepository.php
+++ b/backend/app/Repository/Eloquent/OutgoingMessageRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\OutgoingMessageDomainObject;
use HiEvents\Models\OutgoingMessage;
use HiEvents\Repository\Interfaces\OutgoingMessageRepositoryInterface;
+/**
+ * @extends BaseRepository<OutgoingMessageDomainObject>
+ */
class OutgoingMessageRepository extends BaseRepository implements OutgoingMessageRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/PasswordResetRepository.php b/backend/app/Repository/Eloquent/PasswordResetRepository.php
index 430817651..f5f1c3457 100644
--- a/backend/app/Repository/Eloquent/PasswordResetRepository.php
+++ b/backend/app/Repository/Eloquent/PasswordResetRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\PasswordResetDomainObject;
use HiEvents\Models\PasswordReset;
use HiEvents\Repository\Interfaces\PasswordResetRepositoryInterface;
+/**
+ * @extends BaseRepository<PasswordResetDomainObject>
+ */
class PasswordResetRepository extends BaseRepository implements PasswordResetRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/PasswordResetTokenRepository.php b/backend/app/Repository/Eloquent/PasswordResetTokenRepository.php
index 9bef34db8..8e9eece72 100644
--- a/backend/app/Repository/Eloquent/PasswordResetTokenRepository.php
+++ b/backend/app/Repository/Eloquent/PasswordResetTokenRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\PasswordResetTokenDomainObject;
use HiEvents\Models\PasswordResetToken;
use HiEvents\Repository\Interfaces\PasswordResetTokenRepositoryInterface;
+/**
+ * @extends BaseRepository<PasswordResetTokenDomainObject>
+ */
class PasswordResetTokenRepository extends BaseRepository implements PasswordResetTokenRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/ProductCategoryRepository.php b/backend/app/Repository/Eloquent/ProductCategoryRepository.php
index 6a1546c47..ab845cc06 100644
--- a/backend/app/Repository/Eloquent/ProductCategoryRepository.php
+++ b/backend/app/Repository/Eloquent/ProductCategoryRepository.php
@@ -8,6 +8,9 @@ use HiEvents\Models\ProductCategory;
use HiEvents\Repository\Interfaces\ProductCategoryRepositoryInterface;
use Illuminate\Support\Collection;
+/**
+ * @extends BaseRepository<ProductCategoryDomainObject>
+ */
class ProductCategoryRepository extends BaseRepository implements ProductCategoryRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/ProductPriceRepository.php b/backend/app/Repository/Eloquent/ProductPriceRepository.php
index 7114d6f3b..2f2fd3134 100644
--- a/backend/app/Repository/Eloquent/ProductPriceRepository.php
+++ b/backend/app/Repository/Eloquent/ProductPriceRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\ProductPriceDomainObject;
use HiEvents\Models\ProductPrice;
use HiEvents\Repository\Interfaces\ProductPriceRepositoryInterface;
+/**
+ * @extends BaseRepository<ProductPriceDomainObject>
+ */
class ProductPriceRepository extends BaseRepository implements ProductPriceRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/ProductRepository.php b/backend/app/Repository/Eloquent/ProductRepository.php
index 7d2a45090..c199b678a 100644
--- a/backend/app/Repository/Eloquent/ProductRepository.php
+++ b/backend/app/Repository/Eloquent/ProductRepository.php
@@ -22,6 +22,9 @@ use Illuminate\Support\Collection;
use RuntimeException;
use Throwable;
+/**
+ * @extends BaseRepository<ProductDomainObject>
+ */
class ProductRepository extends BaseRepository implements ProductRepositoryInterface
{
public function findByEventId(int $eventId, QueryParamsDTO $params): LengthAwarePaginator
diff --git a/backend/app/Repository/Eloquent/PromoCodeRepository.php b/backend/app/Repository/Eloquent/PromoCodeRepository.php
index 0871dc3cc..376440c86 100644
--- a/backend/app/Repository/Eloquent/PromoCodeRepository.php
+++ b/backend/app/Repository/Eloquent/PromoCodeRepository.php
@@ -10,6 +10,9 @@ use HiEvents\Repository\Interfaces\PromoCodeRepositoryInterface;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Database\Eloquent\Builder;
+/**
+ * @extends BaseRepository<PromoCodeDomainObject>
+ */
class PromoCodeRepository extends BaseRepository implements PromoCodeRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/QuestionAndAnswerViewRepository.php b/backend/app/Repository/Eloquent/QuestionAndAnswerViewRepository.php
index 0e447fa9a..0c76a2a46 100644
--- a/backend/app/Repository/Eloquent/QuestionAndAnswerViewRepository.php
+++ b/backend/app/Repository/Eloquent/QuestionAndAnswerViewRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\QuestionAndAnswerViewDomainObject;
use HiEvents\Models\QuestionAndAnswerView;
use HiEvents\Repository\Interfaces\QuestionAndAnswerViewRepositoryInterface;
+/**
+ * @extends BaseRepository<QuestionAndAnswerViewDomainObject>
+ */
class QuestionAndAnswerViewRepository extends BaseRepository implements QuestionAndAnswerViewRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/QuestionAnswerRepository.php b/backend/app/Repository/Eloquent/QuestionAnswerRepository.php
index 070469798..3c6a16853 100644
--- a/backend/app/Repository/Eloquent/QuestionAnswerRepository.php
+++ b/backend/app/Repository/Eloquent/QuestionAnswerRepository.php
@@ -7,6 +7,9 @@ use HiEvents\DomainObjects\QuestionAnswerDomainObject;
use HiEvents\Models\QuestionAnswer;
use HiEvents\Repository\Interfaces\QuestionAnswerRepositoryInterface;
+/**
+ * @extends BaseRepository<QuestionAnswerDomainObject>
+ */
class QuestionAnswerRepository extends BaseRepository implements QuestionAnswerRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/QuestionRepository.php b/backend/app/Repository/Eloquent/QuestionRepository.php
index 1e0dcdbb6..94f9d547a 100644
--- a/backend/app/Repository/Eloquent/QuestionRepository.php
+++ b/backend/app/Repository/Eloquent/QuestionRepository.php
@@ -12,6 +12,9 @@ use Illuminate\Database\DatabaseManager;
use Illuminate\Foundation\Application;
use Illuminate\Support\Collection;
+/**
+ * @extends BaseRepository<QuestionDomainObject>
+ */
class QuestionRepository extends BaseRepository implements QuestionRepositoryInterface
{
private ProductRepositoryInterface $productRepository;
diff --git a/backend/app/Repository/Eloquent/StripeCustomerRepository.php b/backend/app/Repository/Eloquent/StripeCustomerRepository.php
index 799203c4d..bb5cbae6c 100644
--- a/backend/app/Repository/Eloquent/StripeCustomerRepository.php
+++ b/backend/app/Repository/Eloquent/StripeCustomerRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\StripeCustomerDomainObject;
use HiEvents\Models\StripeCustomer;
use HiEvents\Repository\Interfaces\StripeCustomerRepositoryInterface;
+/**
+ * @extends BaseRepository<StripeCustomerDomainObject>
+ */
class StripeCustomerRepository extends BaseRepository implements StripeCustomerRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/StripePaymentsRepository.php b/backend/app/Repository/Eloquent/StripePaymentsRepository.php
index c2994eda3..42edf2edb 100644
--- a/backend/app/Repository/Eloquent/StripePaymentsRepository.php
+++ b/backend/app/Repository/Eloquent/StripePaymentsRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\StripePaymentDomainObject;
use HiEvents\Models\StripePayment;
use HiEvents\Repository\Interfaces\StripePaymentsRepositoryInterface;
+/**
+ * @extends BaseRepository<StripePaymentDomainObject>
+ */
class StripePaymentsRepository extends BaseRepository implements StripePaymentsRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/StripePayoutsRepository.php b/backend/app/Repository/Eloquent/StripePayoutsRepository.php
index 167d5abc8..923b0571d 100644
--- a/backend/app/Repository/Eloquent/StripePayoutsRepository.php
+++ b/backend/app/Repository/Eloquent/StripePayoutsRepository.php
@@ -6,6 +6,9 @@ use HiEvents\Repository\Interfaces\StripePayoutsRepositoryInterface;
use HiEvents\Models\StripePayout;
use HiEvents\DomainObjects\StripePayoutDomainObject;
+/**
+ * @extends BaseRepository<StripePayoutDomainObject>
+ */
class StripePayoutsRepository extends BaseRepository implements StripePayoutsRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/TaxAndFeeRepository.php b/backend/app/Repository/Eloquent/TaxAndFeeRepository.php
index 0b9d9c992..136e49f28 100644
--- a/backend/app/Repository/Eloquent/TaxAndFeeRepository.php
+++ b/backend/app/Repository/Eloquent/TaxAndFeeRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\TaxAndFeesDomainObject;
use HiEvents\Models\TaxAndFee;
use HiEvents\Repository\Interfaces\TaxAndFeeRepositoryInterface;
+/**
+ * @extends BaseRepository<TaxAndFeesDomainObject>
+ */
class TaxAndFeeRepository extends BaseRepository implements TaxAndFeeRepositoryInterface
{
public function getDomainObject(): string
diff --git a/backend/app/Repository/Eloquent/TicketLookupTokenRepository.php b/backend/app/Repository/Eloquent/TicketLookupTokenRepository.php
index 7a9288b3c..5b875067a 100644
--- a/backend/app/Repository/Eloquent/TicketLookupTokenRepository.php
+++ b/backend/app/Repository/Eloquent/TicketLookupTokenRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\TicketLookupTokenDomainObject;
use HiEvents\Models\TicketLookupToken;
use HiEvents\Repository\Interfaces\TicketLookupTokenRepositoryInterface;
+/**
+ * @extends BaseRepository<TicketLookupTokenDomainObject>
+ */
class TicketLookupTokenRepository extends BaseRepository implements TicketLookupTokenRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/UserRepository.php b/backend/app/Repository/Eloquent/UserRepository.php
index c890d2aac..b1a8c6454 100644
--- a/backend/app/Repository/Eloquent/UserRepository.php
+++ b/backend/app/Repository/Eloquent/UserRepository.php
@@ -14,6 +14,9 @@ use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Support\Collection;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
+/**
+ * @extends BaseRepository<UserDomainObject>
+ */
class UserRepository extends BaseRepository implements UserRepositoryInterface
{
public function getModel(): string
diff --git a/backend/app/Repository/Eloquent/WebhookLogRepository.php b/backend/app/Repository/Eloquent/WebhookLogRepository.php
index 1c518dce1..b52190b84 100644
--- a/backend/app/Repository/Eloquent/WebhookLogRepository.php
+++ b/backend/app/Repository/Eloquent/WebhookLogRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\WebhookLogDomainObject;
use HiEvents\Models\WebhookLog;
use HiEvents\Repository\Interfaces\WebhookLogRepositoryInterface;
+/**
+ * @extends BaseRepository<WebhookLogDomainObject>
+ */
class WebhookLogRepository extends BaseRepository implements WebhookLogRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Eloquent/WebhookRepository.php b/backend/app/Repository/Eloquent/WebhookRepository.php
index bf422e40a..ec2778eae 100644
--- a/backend/app/Repository/Eloquent/WebhookRepository.php
+++ b/backend/app/Repository/Eloquent/WebhookRepository.php
@@ -6,6 +6,9 @@ use HiEvents\DomainObjects\WebhookDomainObject;
use HiEvents\Models\Webhook;
use HiEvents\Repository\Interfaces\WebhookRepositoryInterface;
+/**
+ * @extends BaseRepository<WebhookDomainObject>
+ */
class WebhookRepository extends BaseRepository implements WebhookRepositoryInterface
{
protected function getModel(): string
diff --git a/backend/app/Repository/Interfaces/AccountAttributionRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountAttributionRepositoryInterface.php
index e4bf7b811..e6668d27d 100644
--- a/backend/app/Repository/Interfaces/AccountAttributionRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountAttributionRepositoryInterface.php
@@ -4,8 +4,12 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\AccountAttributionDomainObject;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends RepositoryInterface<AccountAttributionDomainObject>
+ */
interface AccountAttributionRepositoryInterface extends RepositoryInterface
{
public function getAttributionStats(
diff --git a/backend/app/Repository/Interfaces/AccountConfigurationRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountConfigurationRepositoryInterface.php
index 89973ed38..98b2add2c 100644
--- a/backend/app/Repository/Interfaces/AccountConfigurationRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountConfigurationRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AccountConfigurationDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<AccountConfigurationDomainObject>
+ * @extends RepositoryInterface<AccountConfigurationDomainObject>
*/
interface AccountConfigurationRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/AccountRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountRepositoryInterface.php
index f3a72f98f..e389f4602 100644
--- a/backend/app/Repository/Interfaces/AccountRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountRepositoryInterface.php
@@ -6,11 +6,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AccountDomainObject;
use HiEvents\Models\Account;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
/**
- * @extends BaseRepository<AccountDomainObject>
+ * @extends RepositoryInterface<AccountDomainObject>
*/
interface AccountRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/AccountStripePlatformRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountStripePlatformRepositoryInterface.php
index 9d7819809..8276d490f 100644
--- a/backend/app/Repository/Interfaces/AccountStripePlatformRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountStripePlatformRepositoryInterface.php
@@ -4,6 +4,11 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\AccountStripePlatformDomainObject;
+
+/**
+ * @extends RepositoryInterface<AccountStripePlatformDomainObject>
+ */
interface AccountStripePlatformRepositoryInterface extends RepositoryInterface
{
}
\ No newline at end of file
diff --git a/backend/app/Repository/Interfaces/AccountUserRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountUserRepositoryInterface.php
index 010d1ec19..dbcebd133 100644
--- a/backend/app/Repository/Interfaces/AccountUserRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountUserRepositoryInterface.php
@@ -5,10 +5,9 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AccountUserDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<AccountUserDomainObject>
+ * @extends RepositoryInterface<AccountUserDomainObject>
*/
interface AccountUserRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/AccountVatSettingRepositoryInterface.php b/backend/app/Repository/Interfaces/AccountVatSettingRepositoryInterface.php
index 95a1af27b..ea15229e0 100644
--- a/backend/app/Repository/Interfaces/AccountVatSettingRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AccountVatSettingRepositoryInterface.php
@@ -4,6 +4,9 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AccountVatSettingDomainObject;
+/**
+ * @extends RepositoryInterface<AccountVatSettingDomainObject>
+ */
interface AccountVatSettingRepositoryInterface extends RepositoryInterface
{
public function findByAccountId(int $accountId): ?AccountVatSettingDomainObject;
diff --git a/backend/app/Repository/Interfaces/AffiliateRepositoryInterface.php b/backend/app/Repository/Interfaces/AffiliateRepositoryInterface.php
index 8f1a4fb93..b89362c0e 100644
--- a/backend/app/Repository/Interfaces/AffiliateRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AffiliateRepositoryInterface.php
@@ -4,9 +4,13 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\AffiliateDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
use Illuminate\Pagination\LengthAwarePaginator;
+/**
+ * @extends RepositoryInterface<AffiliateDomainObject>
+ */
interface AffiliateRepositoryInterface extends RepositoryInterface
{
public function findByEventId(int $eventId, QueryParamsDTO $params): LengthAwarePaginator;
diff --git a/backend/app/Repository/Interfaces/AttendeeCheckInRepositoryInterface.php b/backend/app/Repository/Interfaces/AttendeeCheckInRepositoryInterface.php
index ac0b5bfc0..758265f2a 100644
--- a/backend/app/Repository/Interfaces/AttendeeCheckInRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AttendeeCheckInRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AttendeeCheckInDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<AttendeeCheckInDomainObject>
+ * @extends RepositoryInterface<AttendeeCheckInDomainObject>
*/
interface AttendeeCheckInRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/AttendeeRepositoryInterface.php b/backend/app/Repository/Interfaces/AttendeeRepositoryInterface.php
index ea8dfd99c..e176a4ce5 100644
--- a/backend/app/Repository/Interfaces/AttendeeRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/AttendeeRepositoryInterface.php
@@ -4,13 +4,12 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\AttendeeDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<AttendeeDomainObject>
+ * @extends RepositoryInterface<AttendeeDomainObject>
*/
interface AttendeeRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/EventDailyStatisticRepositoryInterface.php b/backend/app/Repository/Interfaces/EventDailyStatisticRepositoryInterface.php
index 36bce76da..e2e611980 100644
--- a/backend/app/Repository/Interfaces/EventDailyStatisticRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/EventDailyStatisticRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\EventDailyStatisticDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<EventDailyStatisticDomainObject>
+ * @extends RepositoryInterface<EventDailyStatisticDomainObject>
*/
interface EventDailyStatisticRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/EventRepositoryInterface.php b/backend/app/Repository/Interfaces/EventRepositoryInterface.php
index cd7d03fab..7f04c4277 100644
--- a/backend/app/Repository/Interfaces/EventRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/EventRepositoryInterface.php
@@ -6,11 +6,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\EventDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Pagination\LengthAwarePaginator;
/**
- * @extends BaseRepository<EventDomainObject>
+ * @extends RepositoryInterface<EventDomainObject>
*/
interface EventRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/EventSettingsRepositoryInterface.php b/backend/app/Repository/Interfaces/EventSettingsRepositoryInterface.php
index 011f2b935..c350fb8fc 100644
--- a/backend/app/Repository/Interfaces/EventSettingsRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/EventSettingsRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\EventSettingDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<EventSettingDomainObject>
+ * @extends RepositoryInterface<EventSettingDomainObject>
*/
interface EventSettingsRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/EventStatisticRepositoryInterface.php b/backend/app/Repository/Interfaces/EventStatisticRepositoryInterface.php
index f6d2e618d..c389929bb 100644
--- a/backend/app/Repository/Interfaces/EventStatisticRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/EventStatisticRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\EventStatisticDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<EventStatisticDomainObject>
+ * @extends RepositoryInterface<EventStatisticDomainObject>
*/
interface EventStatisticRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/ImageRepositoryInterface.php b/backend/app/Repository/Interfaces/ImageRepositoryInterface.php
index 6826679b0..04edc73e3 100644
--- a/backend/app/Repository/Interfaces/ImageRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/ImageRepositoryInterface.php
@@ -2,6 +2,11 @@
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\ImageDomainObject;
+
+/**
+ * @extends RepositoryInterface<ImageDomainObject>
+ */
interface ImageRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/InvoiceRepositoryInterface.php b/backend/app/Repository/Interfaces/InvoiceRepositoryInterface.php
index e2091a9fb..dc178fe12 100644
--- a/backend/app/Repository/Interfaces/InvoiceRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/InvoiceRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\InvoiceDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<InvoiceDomainObject>
+ * @extends RepositoryInterface<InvoiceDomainObject>
*/
interface InvoiceRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/MessageRepositoryInterface.php b/backend/app/Repository/Interfaces/MessageRepositoryInterface.php
index 4c10b5398..e60253f44 100644
--- a/backend/app/Repository/Interfaces/MessageRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/MessageRepositoryInterface.php
@@ -4,11 +4,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\MessageDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Pagination\LengthAwarePaginator;
/**
- * @extends BaseRepository<MessageDomainObject>
+ * @extends RepositoryInterface<MessageDomainObject>
*/
interface MessageRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrderApplicationFeeRepositoryInterface.php b/backend/app/Repository/Interfaces/OrderApplicationFeeRepositoryInterface.php
index 7f9f517d7..82aa340a9 100644
--- a/backend/app/Repository/Interfaces/OrderApplicationFeeRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrderApplicationFeeRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrderApplicationFeeDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OrderApplicationFeeDomainObject>
+ * @extends RepositoryInterface<OrderApplicationFeeDomainObject>
*/
interface OrderApplicationFeeRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrderAuditLogRepositoryInterface.php b/backend/app/Repository/Interfaces/OrderAuditLogRepositoryInterface.php
index c9de2c3db..b3a5bddec 100644
--- a/backend/app/Repository/Interfaces/OrderAuditLogRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrderAuditLogRepositoryInterface.php
@@ -5,10 +5,9 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrderAuditLogDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OrderAuditLogDomainObject>
+ * @extends RepositoryInterface<OrderAuditLogDomainObject>
*/
interface OrderAuditLogRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrderItemRepositoryInterface.php b/backend/app/Repository/Interfaces/OrderItemRepositoryInterface.php
index e3490f737..6360d893e 100644
--- a/backend/app/Repository/Interfaces/OrderItemRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrderItemRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrderItemDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OrderItemDomainObject>
+ * @extends RepositoryInterface<OrderItemDomainObject>
*/
interface OrderItemRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrderPaymentPlatformFeeRepositoryInterface.php b/backend/app/Repository/Interfaces/OrderPaymentPlatformFeeRepositoryInterface.php
index 86aa5190a..4f9cb1d4f 100644
--- a/backend/app/Repository/Interfaces/OrderPaymentPlatformFeeRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrderPaymentPlatformFeeRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrderPaymentPlatformFeeDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OrderPaymentPlatformFeeDomainObject>
+ * @extends RepositoryInterface<OrderPaymentPlatformFeeDomainObject>
*/
interface OrderPaymentPlatformFeeRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrderRepositoryInterface.php b/backend/app/Repository/Interfaces/OrderRepositoryInterface.php
index 524b6500c..58cf2c7a8 100644
--- a/backend/app/Repository/Interfaces/OrderRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrderRepositoryInterface.php
@@ -7,12 +7,11 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrderDomainObject;
use HiEvents\DomainObjects\OrderItemDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<OrderDomainObject>
+ * @extends RepositoryInterface<OrderDomainObject>
*/
interface OrderRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrganizerRepositoryInterface.php b/backend/app/Repository/Interfaces/OrganizerRepositoryInterface.php
index 68ce1db05..069993a93 100644
--- a/backend/app/Repository/Interfaces/OrganizerRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrganizerRepositoryInterface.php
@@ -6,11 +6,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrganizerDomainObject;
use HiEvents\Repository\DTO\Organizer\OrganizerStatsResponseDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Pagination\LengthAwarePaginator;
/**
- * @extends BaseRepository<OrganizerDomainObject>
+ * @extends RepositoryInterface<OrganizerDomainObject>
*/
interface OrganizerRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OrganizerSettingsRepositoryInterface.php b/backend/app/Repository/Interfaces/OrganizerSettingsRepositoryInterface.php
index fb74d88b7..dbb530139 100644
--- a/backend/app/Repository/Interfaces/OrganizerSettingsRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OrganizerSettingsRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OrganizerSettingDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OrganizerSettingDomainObject>
+ * @extends RepositoryInterface<OrganizerSettingDomainObject>
*/
interface OrganizerSettingsRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/OutgoingMessageRepositoryInterface.php b/backend/app/Repository/Interfaces/OutgoingMessageRepositoryInterface.php
index af335677f..21155af66 100644
--- a/backend/app/Repository/Interfaces/OutgoingMessageRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/OutgoingMessageRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\OutgoingMessageDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<OutgoingMessageDomainObject>
+ * @extends RepositoryInterface<OutgoingMessageDomainObject>
*/
interface OutgoingMessageRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/PasswordResetRepositoryInterface.php b/backend/app/Repository/Interfaces/PasswordResetRepositoryInterface.php
index e6c14b241..a206ca5db 100644
--- a/backend/app/Repository/Interfaces/PasswordResetRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/PasswordResetRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\PasswordResetDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<PasswordResetDomainObject>
+ * @extends RepositoryInterface<PasswordResetDomainObject>
*/
interface PasswordResetRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/PasswordResetTokenRepositoryInterface.php b/backend/app/Repository/Interfaces/PasswordResetTokenRepositoryInterface.php
index c9008c1a4..c8564fee5 100644
--- a/backend/app/Repository/Interfaces/PasswordResetTokenRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/PasswordResetTokenRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\PasswordResetTokenDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<PasswordResetTokenDomainObject>
+ * @extends RepositoryInterface<PasswordResetTokenDomainObject>
*/
interface PasswordResetTokenRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/ProductCategoryRepositoryInterface.php b/backend/app/Repository/Interfaces/ProductCategoryRepositoryInterface.php
index 593fb5d7b..b330fc0bb 100644
--- a/backend/app/Repository/Interfaces/ProductCategoryRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/ProductCategoryRepositoryInterface.php
@@ -4,11 +4,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\ProductCategoryDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<ProductCategoryDomainObject>
+ * @extends RepositoryInterface<ProductCategoryDomainObject>
*/
interface ProductCategoryRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/ProductPriceRepositoryInterface.php b/backend/app/Repository/Interfaces/ProductPriceRepositoryInterface.php
index 23b538f1e..55b74f91c 100644
--- a/backend/app/Repository/Interfaces/ProductPriceRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/ProductPriceRepositoryInterface.php
@@ -5,10 +5,9 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\ProductPriceDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<ProductPriceDomainObject>
+ * @extends RepositoryInterface<ProductPriceDomainObject>
*/
interface ProductPriceRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/ProductRepositoryInterface.php b/backend/app/Repository/Interfaces/ProductRepositoryInterface.php
index d484fb0c8..557ee19b5 100644
--- a/backend/app/Repository/Interfaces/ProductRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/ProductRepositoryInterface.php
@@ -6,12 +6,11 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\ProductDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<ProductDomainObject>
+ * @extends RepositoryInterface<ProductDomainObject>
*/
interface ProductRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php b/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php
index 65853476a..829af2c46 100644
--- a/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php
@@ -4,11 +4,10 @@ namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\PromoCodeDomainObject;
use HiEvents\Http\DTO\QueryParamsDTO;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
/**
- * @extends BaseRepository<PromoCodeDomainObject>
+ * @extends RepositoryInterface<PromoCodeDomainObject>
*/
interface PromoCodeRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/QuestionAndAnswerViewRepositoryInterface.php b/backend/app/Repository/Interfaces/QuestionAndAnswerViewRepositoryInterface.php
index 398ed767d..bf8bc7001 100644
--- a/backend/app/Repository/Interfaces/QuestionAndAnswerViewRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/QuestionAndAnswerViewRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\QuestionAndAnswerViewDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<QuestionAndAnswerViewDomainObject>
+ * @extends RepositoryInterface<QuestionAndAnswerViewDomainObject>
*/
interface QuestionAndAnswerViewRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/QuestionAnswerRepositoryInterface.php b/backend/app/Repository/Interfaces/QuestionAnswerRepositoryInterface.php
index a797f1d39..704996fc0 100644
--- a/backend/app/Repository/Interfaces/QuestionAnswerRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/QuestionAnswerRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\QuestionAnswerDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<QuestionAnswerDomainObject>
+ * @extends RepositoryInterface<QuestionAnswerDomainObject>
*/
interface QuestionAnswerRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php b/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php
index 61c303e64..3c13f259c 100644
--- a/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php
@@ -3,11 +3,10 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\QuestionDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<QuestionDomainObject>
+ * @extends RepositoryInterface<QuestionDomainObject>
*/
interface QuestionRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/RepositoryInterface.php b/backend/app/Repository/Interfaces/RepositoryInterface.php
index 073ab60c3..e6157bf73 100644
--- a/backend/app/Repository/Interfaces/RepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/RepositoryInterface.php
@@ -12,7 +12,7 @@ use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
/**
- * @template T
+ * @template T of DomainObjectInterface
*/
interface RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/StripeCustomerRepositoryInterface.php b/backend/app/Repository/Interfaces/StripeCustomerRepositoryInterface.php
index 37484b3f5..2d586933b 100644
--- a/backend/app/Repository/Interfaces/StripeCustomerRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/StripeCustomerRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\StripeCustomerDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<StripeCustomerDomainObject>
+ * @extends RepositoryInterface<StripeCustomerDomainObject>
*/
interface StripeCustomerRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/StripePaymentsRepositoryInterface.php b/backend/app/Repository/Interfaces/StripePaymentsRepositoryInterface.php
index 154e4aab4..8ad2e9a45 100644
--- a/backend/app/Repository/Interfaces/StripePaymentsRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/StripePaymentsRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\StripePaymentDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<StripePaymentDomainObject>
+ * @extends RepositoryInterface<StripePaymentDomainObject>
*/
interface StripePaymentsRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/StripePayoutsRepositoryInterface.php b/backend/app/Repository/Interfaces/StripePayoutsRepositoryInterface.php
index 443b79274..88655c271 100644
--- a/backend/app/Repository/Interfaces/StripePayoutsRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/StripePayoutsRepositoryInterface.php
@@ -2,10 +2,10 @@
namespace HiEvents\Repository\Interfaces;
-use HiEvents\Repository\Eloquent\BaseRepository;
+use HiEvents\DomainObjects\StripePayoutDomainObject;
/**
- * @extends BaseRepository
+ * @extends RepositoryInterface<StripePayoutDomainObject>
*/
interface StripePayoutsRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/TaxAndFeeRepositoryInterface.php b/backend/app/Repository/Interfaces/TaxAndFeeRepositoryInterface.php
index effe35ba3..409824850 100644
--- a/backend/app/Repository/Interfaces/TaxAndFeeRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/TaxAndFeeRepositoryInterface.php
@@ -2,6 +2,11 @@
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\TaxAndFeesDomainObject;
+
+/**
+ * @extends RepositoryInterface<TaxAndFeesDomainObject>
+ */
interface TaxAndFeeRepositoryInterface extends RepositoryInterface
{
}
diff --git a/backend/app/Repository/Interfaces/TicketLookupTokenRepositoryInterface.php b/backend/app/Repository/Interfaces/TicketLookupTokenRepositoryInterface.php
index 265c3e7c7..67f631b62 100644
--- a/backend/app/Repository/Interfaces/TicketLookupTokenRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/TicketLookupTokenRepositoryInterface.php
@@ -2,6 +2,11 @@
namespace HiEvents\Repository\Interfaces;
+use HiEvents\DomainObjects\TicketLookupTokenDomainObject;
+
+/**
+ * @extends RepositoryInterface<TicketLookupTokenDomainObject>
+ */
interface TicketLookupTokenRepositoryInterface extends RepositoryInterface
{
}
diff --git a/backend/app/Repository/Interfaces/UserRepositoryInterface.php b/backend/app/Repository/Interfaces/UserRepositoryInterface.php
index 9ea9b6947..5120a5ff1 100644
--- a/backend/app/Repository/Interfaces/UserRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/UserRepositoryInterface.php
@@ -5,12 +5,11 @@ declare(strict_types=1);
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\UserDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
/**
- * @extends BaseRepository<UserDomainObject>
+ * @extends RepositoryInterface<UserDomainObject>
*/
interface UserRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/WebhookLogRepositoryInterface.php b/backend/app/Repository/Interfaces/WebhookLogRepositoryInterface.php
index b9b120b17..9daed4b9e 100644
--- a/backend/app/Repository/Interfaces/WebhookLogRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/WebhookLogRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\WebhookLogDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<WebhookLogDomainObject>
+ * @extends RepositoryInterface<WebhookLogDomainObject>
*/
interface WebhookLogRepositoryInterface extends RepositoryInterface
{
diff --git a/backend/app/Repository/Interfaces/WebhookRepositoryInterface.php b/backend/app/Repository/Interfaces/WebhookRepositoryInterface.php
index 81479fb8e..49a0dac74 100644
--- a/backend/app/Repository/Interfaces/WebhookRepositoryInterface.php
+++ b/backend/app/Repository/Interfaces/WebhookRepositoryInterface.php
@@ -3,10 +3,9 @@
namespace HiEvents\Repository\Interfaces;
use HiEvents\DomainObjects\WebhookDomainObject;
-use HiEvents\Repository\Eloquent\BaseRepository;
/**
- * @extends BaseRepository<WebhookDomainObject>
+ * @extends RepositoryInterface<WebhookDomainObject>
*/
interface WebhookRepositoryInterface extends RepositoryInterface
{