From 34cdc1bebcf86222e6bc0449824c691912992f97 Mon Sep 17 00:00:00 2001 From: Rhys Lees <43909932+RhysLees@users.noreply.github.com> Date: Fri, 27 Sep 2024 00:05:52 +0100 Subject: [PATCH] WIP --- .github/workflows/run-tests.yml | 2 +- src/BexioConnector.php | 3 +-- src/Dto/AccountGroups/AccountGroupDTO.php | 3 +-- src/Dto/Accounts/AccountDTO.php | 3 +-- src/Dto/AdditionalAddresses/AdditionalAddressDTO.php | 3 +-- .../AdditionalAddresses/CreateEditAdditionalAddressDTO.php | 3 +-- src/Dto/BankAccounts/BankAccountDTO.php | 3 +-- src/Dto/BusinessYears/BusinessYearDTO.php | 3 +-- src/Dto/CalendarYears/CalendarYearDTO.php | 3 +-- src/Dto/CalendarYears/CreateCalendarYearDTO.php | 3 +-- src/Dto/CompanyProfiles/CompanyProfileDTO.php | 3 +-- .../ContactAdditionalAddressDTO.php | 3 +-- .../CreateEditContactAdditionalAddressDTO.php | 3 +-- src/Dto/ContactGroups/ContactGroupDTO.php | 3 +-- src/Dto/ContactGroups/CreateEditContactGroupDTO.php | 3 +-- src/Dto/ContactRelations/ContactRelationDTO.php | 3 +-- src/Dto/ContactRelations/CreateEditContactRelationDTO.php | 3 +-- src/Dto/ContactSectors/ContactSectorDTO.php | 3 +-- src/Dto/Contacts/ContactDTO.php | 3 +-- src/Dto/Contacts/CreateEditContactDTO.php | 3 +-- src/Dto/Currencies/CreateCurrencyDTO.php | 3 +-- src/Dto/Currencies/CurrencyDTO.php | 3 +-- src/Dto/Currencies/EditCurrencyDTO.php | 3 +-- src/Dto/Currencies/ExchangeCurrencyDTO.php | 3 +-- src/Dto/Files/EditFileDTO.php | 3 +-- src/Dto/Files/FileDTO.php | 3 +-- src/Dto/Files/FileUsageDTO.php | 3 +-- src/Dto/IbanPayments/CreateEditIbanPaymentDTO.php | 3 +-- src/Dto/ManualEntries/AddFileDTO.php | 3 +-- src/Dto/ManualEntries/CreateEntryDTO.php | 3 +-- src/Dto/ManualEntries/CreateManualEntryDTO.php | 3 +-- src/Dto/ManualEntries/EntryDTO.php | 3 +-- src/Dto/ManualEntries/FileDTO.php | 3 +-- src/Dto/ManualEntries/ManualEntryDTO.php | 3 +-- src/Dto/Notes/CreateEditNoteDTO.php | 3 +-- src/Dto/Notes/NoteDTO.php | 3 +-- src/Dto/Payments/PaymentDTO.php | 3 +-- src/Dto/QrPayments/CreateEditQrPaymentDTO.php | 3 +-- src/Dto/Reports/JournalDTO.php | 3 +-- src/Dto/Salutations/CreateEditSalutationDTO.php | 3 +-- src/Dto/Salutations/SalutationDTO.php | 3 +-- src/Dto/Taxes/TaxDTO.php | 3 +-- src/Dto/Titles/CreateEditTitleDTO.php | 3 +-- src/Dto/Titles/TitleDTO.php | 3 +-- src/Dto/VatPeriods/VatPeriodDTO.php | 3 +-- .../AccountGroups/FetchAListOfAccountGroupsRequest.php | 3 +-- src/Requests/Accounts/FetchAListOfAccountsRequest.php | 3 +-- src/Requests/Accounts/SearchAccountsRequest.php | 3 +-- .../AdditionalAddresses/CreateAnAdditionalAddressRequest.php | 3 +-- .../AdditionalAddresses/DeleteAnAdditionalAddressRequest.php | 3 +-- .../AdditionalAddresses/EditAnAdditionalAddressRequest.php | 3 +-- .../FetchAListOfAdditionalAddressesRequest.php | 3 +-- .../AdditionalAddresses/FetchAnAdditionalAddressRequest.php | 3 +-- .../AdditionalAddresses/SearchAdditionalAddressesRequest.php | 3 +-- src/Requests/BankAccounts/FetchAListOfBankAccountsRequest.php | 3 +-- src/Requests/BankAccounts/FetchASingleBankAccountRequest.php | 3 +-- src/Requests/BusinessYears/FetchABusinessYearRequest.php | 3 +-- .../BusinessYears/FetchAListOfBusinessYearsRequest.php | 3 +-- src/Requests/CalendarYears/CreateCalendarYearRequest.php | 3 +-- src/Requests/CalendarYears/FetchACalendarYearRequest.php | 3 +-- .../CalendarYears/FetchAListOfCalendarYearsRequest.php | 3 +-- src/Requests/CalendarYears/SearchCalendarYearsRequest.php | 3 +-- src/Requests/CompanyProfiles/FetchACompanyProfileRequest.php | 3 +-- .../CompanyProfiles/FetchAListOfCompanyProfilesRequest.php | 4 +--- .../CreateContactAdditionalAddressRequest.php | 3 +-- .../DeleteAContactAdditionalAddressRequest.php | 3 +-- .../EditAContactAdditionalAddressRequest.php | 3 +-- .../FetchAContactAdditionalAddressRequest.php | 3 +-- .../FetchAListOfContactAdditionalAddressesRequest.php | 3 +-- .../SearchContactAdditionalAddressesRequest.php | 3 +-- src/Requests/ContactGroups/CreateContactGroupRequest.php | 3 +-- src/Requests/ContactGroups/DeleteAContactGroupRequest.php | 3 +-- src/Requests/ContactGroups/EditAContactGroupRequest.php | 3 +-- src/Requests/ContactGroups/FetchAContactGroupRequest.php | 3 +-- .../ContactGroups/FetchAListOfContactGroupsRequest.php | 3 +-- src/Requests/ContactGroups/SearchContactGroupsRequest.php | 3 +-- .../ContactRelations/CreateContactRelationRequest.php | 3 +-- .../ContactRelations/DeleteAContactRelationRequest.php | 3 +-- src/Requests/ContactRelations/EditAContactRelationRequest.php | 3 +-- .../ContactRelations/FetchAContactRelationRequest.php | 3 +-- .../ContactRelations/FetchAListOfContactRelationsRequest.php | 3 +-- .../ContactRelations/SearchContactRelationsRequest.php | 3 +-- .../ContactSectors/FetchAListOfContactSectorsRequest.php | 3 +-- src/Requests/ContactSectors/SearchContactSectorsRequest.php | 3 +-- src/Requests/Contacts/BulkCreateContactsRequest.php | 3 +-- src/Requests/Contacts/CreateContactRequest.php | 3 +-- src/Requests/Contacts/DeleteAContactRequest.php | 3 +-- src/Requests/Contacts/EditAContactRequest.php | 3 +-- src/Requests/Contacts/FetchAContactRequest.php | 3 +-- src/Requests/Contacts/FetchAListOfContactsRequest.php | 3 +-- src/Requests/Contacts/RestoreAContactRequest.php | 3 +-- src/Requests/Contacts/SearchContactsRequest.php | 3 +-- src/Requests/Currencies/CreateCurrencyRequest.php | 3 +-- src/Requests/Currencies/DeleteACurrencyRequest.php | 3 +-- src/Requests/Currencies/EditACurrencyRequest.php | 3 +-- src/Requests/Currencies/FetchACurrencyRequest.php | 3 +-- src/Requests/Currencies/FetchAListOfCurrenciesRequest.php | 3 +-- .../Currencies/FetchExchangeRatesForCurrenciesRequest.php | 3 +-- src/Requests/Files/CreateAFileRequest.php | 3 +-- src/Requests/Files/DeleteAFileRequest.php | 3 +-- src/Requests/Files/DownloadFileRequest.php | 3 +-- src/Requests/Files/EditAFileRequest.php | 3 +-- src/Requests/Files/FetchAListOfFilesRequest.php | 3 +-- src/Requests/Files/GetAFilePreviewRequest.php | 3 +-- src/Requests/Files/GetASingleFileRequest.php | 3 +-- src/Requests/Files/SearchFilesRequest.php | 3 +-- src/Requests/Files/ShowFileUsageRequest.php | 3 +-- src/Requests/IbanPayments/CreateIbanPaymentRequest.php | 3 +-- src/Requests/IbanPayments/EditIbanPaymentRequest.php | 3 +-- src/Requests/IbanPayments/GetIbanPaymentRequest.php | 3 +-- .../ManualEntries/AddFileToAccountingEntryLineRequest.php | 3 +-- src/Requests/ManualEntries/CreateManualEntryRequest.php | 3 +-- .../ManualEntries/DeleteFileOfAccountingEntryLineRequest.php | 3 +-- .../ManualEntries/FetchAListOfManualEntriesRequest.php | 3 +-- .../ManualEntries/FetchFileOfAccountingEntryLineRequest.php | 3 +-- .../ManualEntries/FetchFilesOfAccountingEntryRequest.php | 3 +-- src/Requests/Notes/CreateANoteRequest.php | 3 +-- src/Requests/Notes/DeleteANoteRequest.php | 3 +-- src/Requests/Notes/EditANoteRequest.php | 3 +-- src/Requests/Notes/FetchAListOfNotesRequest.php | 3 +-- src/Requests/Notes/FetchANoteRequest.php | 3 +-- src/Requests/Notes/SearchNotesRequest.php | 3 +-- src/Requests/Payments/CancelAPaymentRequest.php | 3 +-- src/Requests/Payments/DeleteAPaymentRequest.php | 3 +-- src/Requests/Payments/FetchAListOfPaymentsRequest.php | 3 +-- src/Requests/QrPayments/CreateQrPaymentRequest.php | 3 +-- src/Requests/QrPayments/EditQrPaymentRequest.php | 3 +-- src/Requests/QrPayments/GetQrPaymentRequest.php | 3 +-- src/Requests/Reports/JournalRequest.php | 3 +-- src/Requests/Salutations/CreateASalutationRequest.php | 3 +-- src/Requests/Salutations/DeleteASalutationRequest.php | 3 +-- src/Requests/Salutations/EditASalutationRequest.php | 3 +-- src/Requests/Salutations/FetchAListOfSalutationsRequest.php | 3 +-- src/Requests/Salutations/FetchASalutationRequest.php | 3 +-- src/Requests/Salutations/SearchSalutationsRequest.php | 3 +-- src/Requests/Taxes/DeleteATaxRequest.php | 3 +-- src/Requests/Taxes/FetchAListOfTaxesRequest.php | 3 +-- src/Requests/Taxes/FetchATaxRequest.php | 3 +-- src/Requests/Titles/CreateATitleRequest.php | 3 +-- src/Requests/Titles/DeleteATitleRequest.php | 3 +-- src/Requests/Titles/EditATitleRequest.php | 3 +-- src/Requests/Titles/FetchAListOfTitlesRequest.php | 3 +-- src/Requests/Titles/FetchATitleRequest.php | 3 +-- src/Requests/Titles/SearchTitlesRequest.php | 3 +-- src/Requests/VatPeriods/FetchAListOfVatPeriodsRequest.php | 3 +-- src/Requests/VatPeriods/FetchAVatPeriodRequest.php | 3 +-- .../AccountGroups/FetchAListOfAccountGroupsRequestTest.php | 2 +- tests/Requests/Accounts/FetchAListOfAccountsRequestTest.php | 2 +- .../BankAccounts/FetchAListOfBankAccountsRequestTest.php | 2 +- .../BusinessYears/FetchAListOfBusinessYearsRequestTest.php | 2 +- .../CalendarYears/FetchAListOfCalendarYearsRequestTest.php | 2 +- .../FetchAListOfCompanyProfilesRequestTest.php | 2 +- tests/Requests/Contacts/FetchAListOfContactsRequestTest.php | 2 +- .../ContactsGroups/FetchAListOfContactGroupsRequestTest.php | 2 +- .../FetchAListOfContactRelationsRequestTest.php | 2 +- .../ContactsSectors/FetchAListOfContactSectorsRequestTest.php | 2 +- .../Requests/Currencies/FetchAListOfCurrenciesRequestTest.php | 2 +- .../Currencies/FetchAllPossibleCurrencyCodesRequestTest.php | 2 +- tests/Requests/Files/FetchAListOfFilesRequestTest.php | 2 +- .../ManualEntries/FetchAListOfManualEntriesRequestTest.php | 2 +- .../ManualEntries/GetNextReferenceNumberRequestTest.php | 2 +- tests/Requests/Notes/FetchAListOfNotesRequestTest.php | 2 +- tests/Requests/Payments/FetchAListOfPaymentsTest.php | 2 +- .../Salutations/FetchAListOfSalutationsRequestTest.php | 2 +- tests/Requests/Taxes/FetchAListOfTaxesRequestTest.php | 2 +- tests/Requests/Titles/FetchAListOfTitlesRequestTest.php | 2 +- tests/Requests/VatPeriods/FetchAListOfTaxesRequestTest.php | 2 +- 167 files changed, 167 insertions(+), 313 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c26d8ea..0674352 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -48,7 +48,7 @@ jobs: run: vendor/bin/pest - name: Store test reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Store report retention-days: 1 diff --git a/src/BexioConnector.php b/src/BexioConnector.php index 56ae95f..836cb36 100644 --- a/src/BexioConnector.php +++ b/src/BexioConnector.php @@ -10,8 +10,7 @@ class BexioConnector extends Connector { public function __construct( protected readonly ?string $token = null, - ) { - } + ) {} public function resolveBaseUrl(): string { diff --git a/src/Dto/AccountGroups/AccountGroupDTO.php b/src/Dto/AccountGroups/AccountGroupDTO.php index 59eceaa..58048ec 100644 --- a/src/Dto/AccountGroups/AccountGroupDTO.php +++ b/src/Dto/AccountGroups/AccountGroupDTO.php @@ -16,8 +16,7 @@ public function __construct( public bool $is_active, public bool $is_locked, public ?int $parent_fibu_account_group_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Accounts/AccountDTO.php b/src/Dto/Accounts/AccountDTO.php index 3523eb0..466e8d0 100644 --- a/src/Dto/Accounts/AccountDTO.php +++ b/src/Dto/Accounts/AccountDTO.php @@ -18,8 +18,7 @@ public function __construct( public bool $is_locked, public ?int $tax_id = null, public ?int $fibu_account_group_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/AdditionalAddresses/AdditionalAddressDTO.php b/src/Dto/AdditionalAddresses/AdditionalAddressDTO.php index fd66965..ec3912b 100644 --- a/src/Dto/AdditionalAddresses/AdditionalAddressDTO.php +++ b/src/Dto/AdditionalAddresses/AdditionalAddressDTO.php @@ -18,8 +18,7 @@ public function __construct( public ?int $postcode = null, public ?string $city = null, public ?string $country_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/AdditionalAddresses/CreateEditAdditionalAddressDTO.php b/src/Dto/AdditionalAddresses/CreateEditAdditionalAddressDTO.php index 5260f35..30fca39 100644 --- a/src/Dto/AdditionalAddresses/CreateEditAdditionalAddressDTO.php +++ b/src/Dto/AdditionalAddresses/CreateEditAdditionalAddressDTO.php @@ -17,8 +17,7 @@ public function __construct( public ?int $postcode = null, public ?string $city = null, public ?string $country_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/BankAccounts/BankAccountDTO.php b/src/Dto/BankAccounts/BankAccountDTO.php index e735d1c..104fdb5 100644 --- a/src/Dto/BankAccounts/BankAccountDTO.php +++ b/src/Dto/BankAccounts/BankAccountDTO.php @@ -34,8 +34,7 @@ public function __construct( public ?string $esr_bottom_line_include_amount = null, public ?string $remarks = null, public ?string $qr_invoice_iban = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/BusinessYears/BusinessYearDTO.php b/src/Dto/BusinessYears/BusinessYearDTO.php index fe4908f..35e67ec 100644 --- a/src/Dto/BusinessYears/BusinessYearDTO.php +++ b/src/Dto/BusinessYears/BusinessYearDTO.php @@ -15,8 +15,7 @@ public function __construct( public string $end, public string $status, public ?string $closed_at = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/CalendarYears/CalendarYearDTO.php b/src/Dto/CalendarYears/CalendarYearDTO.php index f597f97..2a4bb59 100644 --- a/src/Dto/CalendarYears/CalendarYearDTO.php +++ b/src/Dto/CalendarYears/CalendarYearDTO.php @@ -18,8 +18,7 @@ public function __construct( public string $updated_at, public ?string $vat_accounting_method = null, public ?string $vat_accounting_type = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/CalendarYears/CreateCalendarYearDTO.php b/src/Dto/CalendarYears/CreateCalendarYearDTO.php index f165b87..b1ca81b 100644 --- a/src/Dto/CalendarYears/CreateCalendarYearDTO.php +++ b/src/Dto/CalendarYears/CreateCalendarYearDTO.php @@ -16,8 +16,7 @@ public function __construct( public string $vat_accounting_type, public int $default_tax_income_id, public int $default_tax_expense_id, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/CompanyProfiles/CompanyProfileDTO.php b/src/Dto/CompanyProfiles/CompanyProfileDTO.php index b16962d..ef9bd9a 100644 --- a/src/Dto/CompanyProfiles/CompanyProfileDTO.php +++ b/src/Dto/CompanyProfiles/CompanyProfileDTO.php @@ -42,8 +42,7 @@ public function __construct( public ?string $ust_id_nr = null, public ?string $mwst_nr = null, public ?string $trade_register_nr = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactAdditionalAddresses/ContactAdditionalAddressDTO.php b/src/Dto/ContactAdditionalAddresses/ContactAdditionalAddressDTO.php index 218bf17..73a42a3 100644 --- a/src/Dto/ContactAdditionalAddresses/ContactAdditionalAddressDTO.php +++ b/src/Dto/ContactAdditionalAddresses/ContactAdditionalAddressDTO.php @@ -18,8 +18,7 @@ public function __construct( public string $postcode, public string $city, public ?int $country_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactAdditionalAddresses/CreateEditContactAdditionalAddressDTO.php b/src/Dto/ContactAdditionalAddresses/CreateEditContactAdditionalAddressDTO.php index 6dcc276..f8d9c6d 100644 --- a/src/Dto/ContactAdditionalAddresses/CreateEditContactAdditionalAddressDTO.php +++ b/src/Dto/ContactAdditionalAddresses/CreateEditContactAdditionalAddressDTO.php @@ -17,8 +17,7 @@ public function __construct( public string $postcode, public string $city, public ?int $country_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactGroups/ContactGroupDTO.php b/src/Dto/ContactGroups/ContactGroupDTO.php index 03c838c..e67fb04 100644 --- a/src/Dto/ContactGroups/ContactGroupDTO.php +++ b/src/Dto/ContactGroups/ContactGroupDTO.php @@ -12,8 +12,7 @@ class ContactGroupDTO extends Data public function __construct( public int $id, public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactGroups/CreateEditContactGroupDTO.php b/src/Dto/ContactGroups/CreateEditContactGroupDTO.php index a585b26..eabb081 100644 --- a/src/Dto/ContactGroups/CreateEditContactGroupDTO.php +++ b/src/Dto/ContactGroups/CreateEditContactGroupDTO.php @@ -11,8 +11,7 @@ class CreateEditContactGroupDTO extends Data { public function __construct( public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactRelations/ContactRelationDTO.php b/src/Dto/ContactRelations/ContactRelationDTO.php index b647c01..a28c9fd 100644 --- a/src/Dto/ContactRelations/ContactRelationDTO.php +++ b/src/Dto/ContactRelations/ContactRelationDTO.php @@ -15,8 +15,7 @@ public function __construct( public int $contact_sub_id, public ?string $description, public ?string $updated_at, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactRelations/CreateEditContactRelationDTO.php b/src/Dto/ContactRelations/CreateEditContactRelationDTO.php index cc1e43f..35abfc8 100644 --- a/src/Dto/ContactRelations/CreateEditContactRelationDTO.php +++ b/src/Dto/ContactRelations/CreateEditContactRelationDTO.php @@ -13,8 +13,7 @@ public function __construct( public int $contact_id, public int $contact_sub_id, public ?string $description, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ContactSectors/ContactSectorDTO.php b/src/Dto/ContactSectors/ContactSectorDTO.php index 0697091..341b8ef 100644 --- a/src/Dto/ContactSectors/ContactSectorDTO.php +++ b/src/Dto/ContactSectors/ContactSectorDTO.php @@ -12,8 +12,7 @@ class ContactSectorDTO extends Data public function __construct( public int $id, public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Contacts/ContactDTO.php b/src/Dto/Contacts/ContactDTO.php index 3b5140a..ea49f1f 100644 --- a/src/Dto/Contacts/ContactDTO.php +++ b/src/Dto/Contacts/ContactDTO.php @@ -39,8 +39,7 @@ public function __construct( public ?string $contact_group_ids, public ?string $contact_branch_ids, public ?string $updated_at, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Contacts/CreateEditContactDTO.php b/src/Dto/Contacts/CreateEditContactDTO.php index 3d1b62e..1342f5c 100644 --- a/src/Dto/Contacts/CreateEditContactDTO.php +++ b/src/Dto/Contacts/CreateEditContactDTO.php @@ -36,8 +36,7 @@ public function __construct( public ?int $language_id = null, //ref to language public ?string $contact_group_ids = null, public ?string $contact_branch_ids = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Currencies/CreateCurrencyDTO.php b/src/Dto/Currencies/CreateCurrencyDTO.php index 5b317cd..7d2491d 100644 --- a/src/Dto/Currencies/CreateCurrencyDTO.php +++ b/src/Dto/Currencies/CreateCurrencyDTO.php @@ -12,8 +12,7 @@ class CreateCurrencyDTO extends Data public function __construct( public string $name, public float $round_factor, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Currencies/CurrencyDTO.php b/src/Dto/Currencies/CurrencyDTO.php index 74c90fd..818f53a 100644 --- a/src/Dto/Currencies/CurrencyDTO.php +++ b/src/Dto/Currencies/CurrencyDTO.php @@ -13,8 +13,7 @@ public function __construct( public int $id, public string $name, public float $round_factor, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Currencies/EditCurrencyDTO.php b/src/Dto/Currencies/EditCurrencyDTO.php index 2db36f7..0b816f7 100644 --- a/src/Dto/Currencies/EditCurrencyDTO.php +++ b/src/Dto/Currencies/EditCurrencyDTO.php @@ -11,8 +11,7 @@ class EditCurrencyDTO extends Data { public function __construct( public float $round_factor, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Currencies/ExchangeCurrencyDTO.php b/src/Dto/Currencies/ExchangeCurrencyDTO.php index 2160699..d866794 100644 --- a/src/Dto/Currencies/ExchangeCurrencyDTO.php +++ b/src/Dto/Currencies/ExchangeCurrencyDTO.php @@ -12,8 +12,7 @@ class ExchangeCurrencyDTO extends Data public function __construct( public float $factor_nr, public CurrencyDTO $exchange_currency, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Files/EditFileDTO.php b/src/Dto/Files/EditFileDTO.php index b1ae4ba..8dc952b 100644 --- a/src/Dto/Files/EditFileDTO.php +++ b/src/Dto/Files/EditFileDTO.php @@ -13,8 +13,7 @@ public function __construct( public string $name, public bool $is_archived, public string $source_type, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Files/FileDTO.php b/src/Dto/Files/FileDTO.php index bc8e683..cca2e11 100644 --- a/src/Dto/Files/FileDTO.php +++ b/src/Dto/Files/FileDTO.php @@ -25,8 +25,7 @@ public function __construct( public ?string $uploader_email = null, public ?string $processing_source = null, public ?string $processing_status = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Files/FileUsageDTO.php b/src/Dto/Files/FileUsageDTO.php index 12f01d7..c4606c3 100644 --- a/src/Dto/Files/FileUsageDTO.php +++ b/src/Dto/Files/FileUsageDTO.php @@ -14,8 +14,7 @@ public function __construct( public string $ref_class, public string $title, public string $document_nr, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/IbanPayments/CreateEditIbanPaymentDTO.php b/src/Dto/IbanPayments/CreateEditIbanPaymentDTO.php index a1acd15..2975fb9 100644 --- a/src/Dto/IbanPayments/CreateEditIbanPaymentDTO.php +++ b/src/Dto/IbanPayments/CreateEditIbanPaymentDTO.php @@ -18,8 +18,7 @@ public function __construct( public bool $is_editing_restricted, public string $message, public string $allowance_type, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ManualEntries/AddFileDTO.php b/src/Dto/ManualEntries/AddFileDTO.php index a5188cb..80bdf44 100644 --- a/src/Dto/ManualEntries/AddFileDTO.php +++ b/src/Dto/ManualEntries/AddFileDTO.php @@ -12,8 +12,7 @@ public function __construct( public string $name, public mixed $absolute_file_path_or_stream, public string $filename, - ) { - } + ) {} public static function fromArray(array $data): self { diff --git a/src/Dto/ManualEntries/CreateEntryDTO.php b/src/Dto/ManualEntries/CreateEntryDTO.php index 4911908..7c22ead 100644 --- a/src/Dto/ManualEntries/CreateEntryDTO.php +++ b/src/Dto/ManualEntries/CreateEntryDTO.php @@ -17,8 +17,7 @@ public function __construct( public ?int $currency_factor = null, public ?int $debit_account_id = null, public ?int $credit_account_id = null, - ) { - } + ) {} public static function fromArray(array $data): self { diff --git a/src/Dto/ManualEntries/CreateManualEntryDTO.php b/src/Dto/ManualEntries/CreateManualEntryDTO.php index 0b30082..c75fb5e 100644 --- a/src/Dto/ManualEntries/CreateManualEntryDTO.php +++ b/src/Dto/ManualEntries/CreateManualEntryDTO.php @@ -16,8 +16,7 @@ public function __construct( public string $date, public Collection $entries, public ?string $reference_nr = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ManualEntries/EntryDTO.php b/src/Dto/ManualEntries/EntryDTO.php index 3856a43..03b3cc3 100644 --- a/src/Dto/ManualEntries/EntryDTO.php +++ b/src/Dto/ManualEntries/EntryDTO.php @@ -24,8 +24,7 @@ public function __construct( public ?int $tax_account_id = null, public ?int $created_by_user_id = null, public ?int $edited_by_user_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ManualEntries/FileDTO.php b/src/Dto/ManualEntries/FileDTO.php index dc5eaf2..70ee5de 100644 --- a/src/Dto/ManualEntries/FileDTO.php +++ b/src/Dto/ManualEntries/FileDTO.php @@ -25,8 +25,7 @@ public function __construct( public ?string $uploader_email = null, public ?string $processing_source = null, public ?string $processing_status = null - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/ManualEntries/ManualEntryDTO.php b/src/Dto/ManualEntries/ManualEntryDTO.php index b236f04..857c432 100644 --- a/src/Dto/ManualEntries/ManualEntryDTO.php +++ b/src/Dto/ManualEntries/ManualEntryDTO.php @@ -21,8 +21,7 @@ public function __construct( public bool $is_locked, public ?string $reference_nr = null, public ?string $locked_info = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Notes/CreateEditNoteDTO.php b/src/Dto/Notes/CreateEditNoteDTO.php index b51ed68..bbae5f2 100644 --- a/src/Dto/Notes/CreateEditNoteDTO.php +++ b/src/Dto/Notes/CreateEditNoteDTO.php @@ -18,8 +18,7 @@ public function __construct( public ?int $pr_project_id = null, public ?int $entry_id = null, public ?int $module_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Notes/NoteDTO.php b/src/Dto/Notes/NoteDTO.php index e53ecc5..b127ced 100644 --- a/src/Dto/Notes/NoteDTO.php +++ b/src/Dto/Notes/NoteDTO.php @@ -19,8 +19,7 @@ public function __construct( public ?int $project_id = null, public ?int $entry_id = null, public ?int $module_id = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Payments/PaymentDTO.php b/src/Dto/Payments/PaymentDTO.php index d9aea3e..0b3e6aa 100644 --- a/src/Dto/Payments/PaymentDTO.php +++ b/src/Dto/Payments/PaymentDTO.php @@ -18,8 +18,7 @@ public function __construct( public string $instruction_id, public string $status, public string $created_at, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/QrPayments/CreateEditQrPaymentDTO.php b/src/Dto/QrPayments/CreateEditQrPaymentDTO.php index afe42ce..91392d0 100644 --- a/src/Dto/QrPayments/CreateEditQrPaymentDTO.php +++ b/src/Dto/QrPayments/CreateEditQrPaymentDTO.php @@ -17,8 +17,7 @@ public function __construct( public ?string $qr_reference_nr = null, public ?string $additional_information = null, public ?bool $is_editing_restricted = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Reports/JournalDTO.php b/src/Dto/Reports/JournalDTO.php index 09aafbb..dce3dd6 100644 --- a/src/Dto/Reports/JournalDTO.php +++ b/src/Dto/Reports/JournalDTO.php @@ -20,8 +20,7 @@ public function __construct( public ?int $ref_id = null, public ?string $ref_uuid = null, public ?string $ref_class = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Salutations/CreateEditSalutationDTO.php b/src/Dto/Salutations/CreateEditSalutationDTO.php index 80e4419..571ac7f 100644 --- a/src/Dto/Salutations/CreateEditSalutationDTO.php +++ b/src/Dto/Salutations/CreateEditSalutationDTO.php @@ -11,8 +11,7 @@ class CreateEditSalutationDTO extends Data { public function __construct( public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Salutations/SalutationDTO.php b/src/Dto/Salutations/SalutationDTO.php index 34ef0cf..847adc7 100644 --- a/src/Dto/Salutations/SalutationDTO.php +++ b/src/Dto/Salutations/SalutationDTO.php @@ -12,8 +12,7 @@ class SalutationDTO extends Data public function __construct( public int $id, public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Taxes/TaxDTO.php b/src/Dto/Taxes/TaxDTO.php index d06c4ee..e9d11fc 100644 --- a/src/Dto/Taxes/TaxDTO.php +++ b/src/Dto/Taxes/TaxDTO.php @@ -24,8 +24,7 @@ public function __construct( public ?int $start_year = null, public ?int $end_year = null, public mixed $net_tax_value = null, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Titles/CreateEditTitleDTO.php b/src/Dto/Titles/CreateEditTitleDTO.php index e77d532..8f38238 100644 --- a/src/Dto/Titles/CreateEditTitleDTO.php +++ b/src/Dto/Titles/CreateEditTitleDTO.php @@ -11,8 +11,7 @@ class CreateEditTitleDTO extends Data { public function __construct( public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/Titles/TitleDTO.php b/src/Dto/Titles/TitleDTO.php index 848b58d..9359eaf 100644 --- a/src/Dto/Titles/TitleDTO.php +++ b/src/Dto/Titles/TitleDTO.php @@ -12,8 +12,7 @@ class TitleDTO extends Data public function __construct( public int $id, public string $name, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Dto/VatPeriods/VatPeriodDTO.php b/src/Dto/VatPeriods/VatPeriodDTO.php index d9403b5..8af0415 100644 --- a/src/Dto/VatPeriods/VatPeriodDTO.php +++ b/src/Dto/VatPeriods/VatPeriodDTO.php @@ -16,8 +16,7 @@ public function __construct( public string $type, public string $status, public string $created_at, - ) { - } + ) {} public static function fromResponse(Response $response): self { diff --git a/src/Requests/AccountGroups/FetchAListOfAccountGroupsRequest.php b/src/Requests/AccountGroups/FetchAListOfAccountGroupsRequest.php index 9f114aa..0dd08b0 100644 --- a/src/Requests/AccountGroups/FetchAListOfAccountGroupsRequest.php +++ b/src/Requests/AccountGroups/FetchAListOfAccountGroupsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfAccountGroupsRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Accounts/FetchAListOfAccountsRequest.php b/src/Requests/Accounts/FetchAListOfAccountsRequest.php index 7b4a8eb..1af4ad8 100644 --- a/src/Requests/Accounts/FetchAListOfAccountsRequest.php +++ b/src/Requests/Accounts/FetchAListOfAccountsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfAccountsRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Accounts/SearchAccountsRequest.php b/src/Requests/Accounts/SearchAccountsRequest.php index f68fbd1..db4d8e2 100644 --- a/src/Requests/Accounts/SearchAccountsRequest.php +++ b/src/Requests/Accounts/SearchAccountsRequest.php @@ -24,8 +24,7 @@ public function __construct( readonly string|SearchCriteriaEnum $searchCriteria = '=', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/CreateAnAdditionalAddressRequest.php b/src/Requests/AdditionalAddresses/CreateAnAdditionalAddressRequest.php index a0e2c93..cf6fa70 100644 --- a/src/Requests/AdditionalAddresses/CreateAnAdditionalAddressRequest.php +++ b/src/Requests/AdditionalAddresses/CreateAnAdditionalAddressRequest.php @@ -20,8 +20,7 @@ class CreateAnAdditionalAddressRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditAdditionalAddressDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/DeleteAnAdditionalAddressRequest.php b/src/Requests/AdditionalAddresses/DeleteAnAdditionalAddressRequest.php index 6498c92..41c382c 100644 --- a/src/Requests/AdditionalAddresses/DeleteAnAdditionalAddressRequest.php +++ b/src/Requests/AdditionalAddresses/DeleteAnAdditionalAddressRequest.php @@ -14,8 +14,7 @@ class DeleteAnAdditionalAddressRequest extends Request public function __construct( readonly int $contactId, readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/EditAnAdditionalAddressRequest.php b/src/Requests/AdditionalAddresses/EditAnAdditionalAddressRequest.php index 86aca1f..ed98b73 100644 --- a/src/Requests/AdditionalAddresses/EditAnAdditionalAddressRequest.php +++ b/src/Requests/AdditionalAddresses/EditAnAdditionalAddressRequest.php @@ -21,8 +21,7 @@ public function __construct( readonly int $contactId, readonly int $id, readonly protected array|CreateEditAdditionalAddressDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/FetchAListOfAdditionalAddressesRequest.php b/src/Requests/AdditionalAddresses/FetchAListOfAdditionalAddressesRequest.php index 281ec1c..6132569 100644 --- a/src/Requests/AdditionalAddresses/FetchAListOfAdditionalAddressesRequest.php +++ b/src/Requests/AdditionalAddresses/FetchAListOfAdditionalAddressesRequest.php @@ -18,8 +18,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/FetchAnAdditionalAddressRequest.php b/src/Requests/AdditionalAddresses/FetchAnAdditionalAddressRequest.php index 24b831a..72b911f 100644 --- a/src/Requests/AdditionalAddresses/FetchAnAdditionalAddressRequest.php +++ b/src/Requests/AdditionalAddresses/FetchAnAdditionalAddressRequest.php @@ -15,8 +15,7 @@ class FetchAnAdditionalAddressRequest extends Request public function __construct( readonly int $contactId, readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/AdditionalAddresses/SearchAdditionalAddressesRequest.php b/src/Requests/AdditionalAddresses/SearchAdditionalAddressesRequest.php index 1735e55..5b40428 100644 --- a/src/Requests/AdditionalAddresses/SearchAdditionalAddressesRequest.php +++ b/src/Requests/AdditionalAddresses/SearchAdditionalAddressesRequest.php @@ -26,8 +26,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/BankAccounts/FetchAListOfBankAccountsRequest.php b/src/Requests/BankAccounts/FetchAListOfBankAccountsRequest.php index 61b1a23..074262f 100644 --- a/src/Requests/BankAccounts/FetchAListOfBankAccountsRequest.php +++ b/src/Requests/BankAccounts/FetchAListOfBankAccountsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfBankAccountsRequest extends Request public function __construct( readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/BankAccounts/FetchASingleBankAccountRequest.php b/src/Requests/BankAccounts/FetchASingleBankAccountRequest.php index 3ecd172..e27b63d 100644 --- a/src/Requests/BankAccounts/FetchASingleBankAccountRequest.php +++ b/src/Requests/BankAccounts/FetchASingleBankAccountRequest.php @@ -15,8 +15,7 @@ class FetchASingleBankAccountRequest extends Request public function __construct( readonly int $id, readonly bool $show_archived = false, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/BusinessYears/FetchABusinessYearRequest.php b/src/Requests/BusinessYears/FetchABusinessYearRequest.php index 0792a74..8a79992 100644 --- a/src/Requests/BusinessYears/FetchABusinessYearRequest.php +++ b/src/Requests/BusinessYears/FetchABusinessYearRequest.php @@ -14,8 +14,7 @@ class FetchABusinessYearRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/BusinessYears/FetchAListOfBusinessYearsRequest.php b/src/Requests/BusinessYears/FetchAListOfBusinessYearsRequest.php index 335579e..c8207b6 100644 --- a/src/Requests/BusinessYears/FetchAListOfBusinessYearsRequest.php +++ b/src/Requests/BusinessYears/FetchAListOfBusinessYearsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfBusinessYearsRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CalendarYears/CreateCalendarYearRequest.php b/src/Requests/CalendarYears/CreateCalendarYearRequest.php index 17816c6..d5018b9 100644 --- a/src/Requests/CalendarYears/CreateCalendarYearRequest.php +++ b/src/Requests/CalendarYears/CreateCalendarYearRequest.php @@ -19,8 +19,7 @@ class CreateCalendarYearRequest extends Request implements HasBody public function __construct( readonly protected array|CreateCalendarYearDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CalendarYears/FetchACalendarYearRequest.php b/src/Requests/CalendarYears/FetchACalendarYearRequest.php index de67738..c5e1390 100644 --- a/src/Requests/CalendarYears/FetchACalendarYearRequest.php +++ b/src/Requests/CalendarYears/FetchACalendarYearRequest.php @@ -14,8 +14,7 @@ class FetchACalendarYearRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CalendarYears/FetchAListOfCalendarYearsRequest.php b/src/Requests/CalendarYears/FetchAListOfCalendarYearsRequest.php index ce0da75..8964c06 100644 --- a/src/Requests/CalendarYears/FetchAListOfCalendarYearsRequest.php +++ b/src/Requests/CalendarYears/FetchAListOfCalendarYearsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfCalendarYearsRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CalendarYears/SearchCalendarYearsRequest.php b/src/Requests/CalendarYears/SearchCalendarYearsRequest.php index cbe8ea1..2c35841 100644 --- a/src/Requests/CalendarYears/SearchCalendarYearsRequest.php +++ b/src/Requests/CalendarYears/SearchCalendarYearsRequest.php @@ -24,8 +24,7 @@ public function __construct( readonly string $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CompanyProfiles/FetchACompanyProfileRequest.php b/src/Requests/CompanyProfiles/FetchACompanyProfileRequest.php index ba7562e..5faa9af 100644 --- a/src/Requests/CompanyProfiles/FetchACompanyProfileRequest.php +++ b/src/Requests/CompanyProfiles/FetchACompanyProfileRequest.php @@ -14,8 +14,7 @@ class FetchACompanyProfileRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequest.php b/src/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequest.php index bca5d23..fe89cd8 100644 --- a/src/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequest.php +++ b/src/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequest.php @@ -12,9 +12,7 @@ class FetchAListOfCompanyProfilesRequest extends Request { protected Method $method = Method::GET; - public function __construct() - { - } + public function __construct() {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/CreateContactAdditionalAddressRequest.php b/src/Requests/ContactAdditionalAddresses/CreateContactAdditionalAddressRequest.php index 510ec67..09595e8 100644 --- a/src/Requests/ContactAdditionalAddresses/CreateContactAdditionalAddressRequest.php +++ b/src/Requests/ContactAdditionalAddresses/CreateContactAdditionalAddressRequest.php @@ -20,8 +20,7 @@ class CreateContactAdditionalAddressRequest extends Request implements HasBody public function __construct( readonly int $contactId, readonly protected array|CreateEditContactAdditionalAddressDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/DeleteAContactAdditionalAddressRequest.php b/src/Requests/ContactAdditionalAddresses/DeleteAContactAdditionalAddressRequest.php index ecc7b4a..5aa7023 100644 --- a/src/Requests/ContactAdditionalAddresses/DeleteAContactAdditionalAddressRequest.php +++ b/src/Requests/ContactAdditionalAddresses/DeleteAContactAdditionalAddressRequest.php @@ -14,8 +14,7 @@ class DeleteAContactAdditionalAddressRequest extends Request public function __construct( readonly int $contactId, readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/EditAContactAdditionalAddressRequest.php b/src/Requests/ContactAdditionalAddresses/EditAContactAdditionalAddressRequest.php index 8e66e76..cdec213 100644 --- a/src/Requests/ContactAdditionalAddresses/EditAContactAdditionalAddressRequest.php +++ b/src/Requests/ContactAdditionalAddresses/EditAContactAdditionalAddressRequest.php @@ -21,8 +21,7 @@ public function __construct( readonly int $contactId, readonly int $id, readonly protected array|CreateEditContactAdditionalAddressDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/FetchAContactAdditionalAddressRequest.php b/src/Requests/ContactAdditionalAddresses/FetchAContactAdditionalAddressRequest.php index 87d8557..d4e629b 100644 --- a/src/Requests/ContactAdditionalAddresses/FetchAContactAdditionalAddressRequest.php +++ b/src/Requests/ContactAdditionalAddresses/FetchAContactAdditionalAddressRequest.php @@ -15,8 +15,7 @@ class FetchAContactAdditionalAddressRequest extends Request public function __construct( readonly int $contactId, readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/FetchAListOfContactAdditionalAddressesRequest.php b/src/Requests/ContactAdditionalAddresses/FetchAListOfContactAdditionalAddressesRequest.php index b589c6a..4443ff6 100644 --- a/src/Requests/ContactAdditionalAddresses/FetchAListOfContactAdditionalAddressesRequest.php +++ b/src/Requests/ContactAdditionalAddresses/FetchAListOfContactAdditionalAddressesRequest.php @@ -17,8 +17,7 @@ public function __construct( readonly string $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactAdditionalAddresses/SearchContactAdditionalAddressesRequest.php b/src/Requests/ContactAdditionalAddresses/SearchContactAdditionalAddressesRequest.php index 9ff900d..2b3876d 100644 --- a/src/Requests/ContactAdditionalAddresses/SearchContactAdditionalAddressesRequest.php +++ b/src/Requests/ContactAdditionalAddresses/SearchContactAdditionalAddressesRequest.php @@ -25,8 +25,7 @@ public function __construct( readonly string $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/CreateContactGroupRequest.php b/src/Requests/ContactGroups/CreateContactGroupRequest.php index 8ecc3b2..7593428 100644 --- a/src/Requests/ContactGroups/CreateContactGroupRequest.php +++ b/src/Requests/ContactGroups/CreateContactGroupRequest.php @@ -19,8 +19,7 @@ class CreateContactGroupRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditContactGroupDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/DeleteAContactGroupRequest.php b/src/Requests/ContactGroups/DeleteAContactGroupRequest.php index 5613858..55fe368 100644 --- a/src/Requests/ContactGroups/DeleteAContactGroupRequest.php +++ b/src/Requests/ContactGroups/DeleteAContactGroupRequest.php @@ -13,8 +13,7 @@ class DeleteAContactGroupRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/EditAContactGroupRequest.php b/src/Requests/ContactGroups/EditAContactGroupRequest.php index b7aa2bd..e5874d7 100644 --- a/src/Requests/ContactGroups/EditAContactGroupRequest.php +++ b/src/Requests/ContactGroups/EditAContactGroupRequest.php @@ -20,8 +20,7 @@ class EditAContactGroupRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditContactGroupDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/FetchAContactGroupRequest.php b/src/Requests/ContactGroups/FetchAContactGroupRequest.php index 2e99a5c..ca119ae 100644 --- a/src/Requests/ContactGroups/FetchAContactGroupRequest.php +++ b/src/Requests/ContactGroups/FetchAContactGroupRequest.php @@ -14,8 +14,7 @@ class FetchAContactGroupRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/FetchAListOfContactGroupsRequest.php b/src/Requests/ContactGroups/FetchAListOfContactGroupsRequest.php index 295f4ff..d53ea67 100644 --- a/src/Requests/ContactGroups/FetchAListOfContactGroupsRequest.php +++ b/src/Requests/ContactGroups/FetchAListOfContactGroupsRequest.php @@ -17,8 +17,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactGroups/SearchContactGroupsRequest.php b/src/Requests/ContactGroups/SearchContactGroupsRequest.php index e3a4483..61bb0b1 100644 --- a/src/Requests/ContactGroups/SearchContactGroupsRequest.php +++ b/src/Requests/ContactGroups/SearchContactGroupsRequest.php @@ -25,8 +25,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/CreateContactRelationRequest.php b/src/Requests/ContactRelations/CreateContactRelationRequest.php index ea2baf2..b92d2ee 100644 --- a/src/Requests/ContactRelations/CreateContactRelationRequest.php +++ b/src/Requests/ContactRelations/CreateContactRelationRequest.php @@ -19,8 +19,7 @@ class CreateContactRelationRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditContactRelationDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/DeleteAContactRelationRequest.php b/src/Requests/ContactRelations/DeleteAContactRelationRequest.php index 0afa396..7b41606 100644 --- a/src/Requests/ContactRelations/DeleteAContactRelationRequest.php +++ b/src/Requests/ContactRelations/DeleteAContactRelationRequest.php @@ -13,8 +13,7 @@ class DeleteAContactRelationRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/EditAContactRelationRequest.php b/src/Requests/ContactRelations/EditAContactRelationRequest.php index e66b8f1..cf4ec62 100644 --- a/src/Requests/ContactRelations/EditAContactRelationRequest.php +++ b/src/Requests/ContactRelations/EditAContactRelationRequest.php @@ -20,8 +20,7 @@ class EditAContactRelationRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditContactRelationDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/FetchAContactRelationRequest.php b/src/Requests/ContactRelations/FetchAContactRelationRequest.php index a64549b..a9d5783 100644 --- a/src/Requests/ContactRelations/FetchAContactRelationRequest.php +++ b/src/Requests/ContactRelations/FetchAContactRelationRequest.php @@ -14,8 +14,7 @@ class FetchAContactRelationRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/FetchAListOfContactRelationsRequest.php b/src/Requests/ContactRelations/FetchAListOfContactRelationsRequest.php index 8e64c4e..8277c63 100644 --- a/src/Requests/ContactRelations/FetchAListOfContactRelationsRequest.php +++ b/src/Requests/ContactRelations/FetchAListOfContactRelationsRequest.php @@ -16,8 +16,7 @@ public function __construct( readonly string $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactRelations/SearchContactRelationsRequest.php b/src/Requests/ContactRelations/SearchContactRelationsRequest.php index e0d352a..d88647d 100644 --- a/src/Requests/ContactRelations/SearchContactRelationsRequest.php +++ b/src/Requests/ContactRelations/SearchContactRelationsRequest.php @@ -24,8 +24,7 @@ public function __construct( readonly string $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactSectors/FetchAListOfContactSectorsRequest.php b/src/Requests/ContactSectors/FetchAListOfContactSectorsRequest.php index b76f2ba..d64d06c 100644 --- a/src/Requests/ContactSectors/FetchAListOfContactSectorsRequest.php +++ b/src/Requests/ContactSectors/FetchAListOfContactSectorsRequest.php @@ -17,8 +17,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ContactSectors/SearchContactSectorsRequest.php b/src/Requests/ContactSectors/SearchContactSectorsRequest.php index c9f58eb..e552321 100644 --- a/src/Requests/ContactSectors/SearchContactSectorsRequest.php +++ b/src/Requests/ContactSectors/SearchContactSectorsRequest.php @@ -25,8 +25,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/BulkCreateContactsRequest.php b/src/Requests/Contacts/BulkCreateContactsRequest.php index bce3153..82cfb13 100644 --- a/src/Requests/Contacts/BulkCreateContactsRequest.php +++ b/src/Requests/Contacts/BulkCreateContactsRequest.php @@ -19,8 +19,7 @@ class BulkCreateContactsRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditContactDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/CreateContactRequest.php b/src/Requests/Contacts/CreateContactRequest.php index cd48a36..4078e28 100644 --- a/src/Requests/Contacts/CreateContactRequest.php +++ b/src/Requests/Contacts/CreateContactRequest.php @@ -19,8 +19,7 @@ class CreateContactRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditContactDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/DeleteAContactRequest.php b/src/Requests/Contacts/DeleteAContactRequest.php index 4fac855..115875a 100644 --- a/src/Requests/Contacts/DeleteAContactRequest.php +++ b/src/Requests/Contacts/DeleteAContactRequest.php @@ -13,8 +13,7 @@ class DeleteAContactRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/EditAContactRequest.php b/src/Requests/Contacts/EditAContactRequest.php index a0ed4ae..734936e 100644 --- a/src/Requests/Contacts/EditAContactRequest.php +++ b/src/Requests/Contacts/EditAContactRequest.php @@ -20,8 +20,7 @@ class EditAContactRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditContactDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/FetchAContactRequest.php b/src/Requests/Contacts/FetchAContactRequest.php index 6901590..e0f1672 100644 --- a/src/Requests/Contacts/FetchAContactRequest.php +++ b/src/Requests/Contacts/FetchAContactRequest.php @@ -15,8 +15,7 @@ class FetchAContactRequest extends Request public function __construct( readonly int $id, readonly bool $show_archived = false, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/FetchAListOfContactsRequest.php b/src/Requests/Contacts/FetchAListOfContactsRequest.php index e40c805..64036f5 100644 --- a/src/Requests/Contacts/FetchAListOfContactsRequest.php +++ b/src/Requests/Contacts/FetchAListOfContactsRequest.php @@ -18,8 +18,7 @@ public function __construct( readonly int $limit = 500, readonly int $offset = 0, readonly bool $show_archived = false, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/RestoreAContactRequest.php b/src/Requests/Contacts/RestoreAContactRequest.php index 85694c8..81716ca 100644 --- a/src/Requests/Contacts/RestoreAContactRequest.php +++ b/src/Requests/Contacts/RestoreAContactRequest.php @@ -13,8 +13,7 @@ class RestoreAContactRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Contacts/SearchContactsRequest.php b/src/Requests/Contacts/SearchContactsRequest.php index 0600903..83b6ab4 100644 --- a/src/Requests/Contacts/SearchContactsRequest.php +++ b/src/Requests/Contacts/SearchContactsRequest.php @@ -26,8 +26,7 @@ public function __construct( readonly int $limit = 500, readonly int $offset = 0, readonly bool $show_archived = false, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/CreateCurrencyRequest.php b/src/Requests/Currencies/CreateCurrencyRequest.php index a2fe0b8..c987db6 100644 --- a/src/Requests/Currencies/CreateCurrencyRequest.php +++ b/src/Requests/Currencies/CreateCurrencyRequest.php @@ -19,8 +19,7 @@ class CreateCurrencyRequest extends Request implements HasBody public function __construct( readonly protected array|CreateCurrencyDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/DeleteACurrencyRequest.php b/src/Requests/Currencies/DeleteACurrencyRequest.php index 2fb8ab2..8959f1d 100644 --- a/src/Requests/Currencies/DeleteACurrencyRequest.php +++ b/src/Requests/Currencies/DeleteACurrencyRequest.php @@ -13,8 +13,7 @@ class DeleteACurrencyRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/EditACurrencyRequest.php b/src/Requests/Currencies/EditACurrencyRequest.php index b416c72..b20c1d6 100644 --- a/src/Requests/Currencies/EditACurrencyRequest.php +++ b/src/Requests/Currencies/EditACurrencyRequest.php @@ -20,8 +20,7 @@ class EditACurrencyRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|EditCurrencyDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/FetchACurrencyRequest.php b/src/Requests/Currencies/FetchACurrencyRequest.php index 65b97bd..a4a4da7 100644 --- a/src/Requests/Currencies/FetchACurrencyRequest.php +++ b/src/Requests/Currencies/FetchACurrencyRequest.php @@ -14,8 +14,7 @@ class FetchACurrencyRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/FetchAListOfCurrenciesRequest.php b/src/Requests/Currencies/FetchAListOfCurrenciesRequest.php index edf7955..6f74d63 100644 --- a/src/Requests/Currencies/FetchAListOfCurrenciesRequest.php +++ b/src/Requests/Currencies/FetchAListOfCurrenciesRequest.php @@ -15,8 +15,7 @@ class FetchAListOfCurrenciesRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Currencies/FetchExchangeRatesForCurrenciesRequest.php b/src/Requests/Currencies/FetchExchangeRatesForCurrenciesRequest.php index 4bde299..1cc368c 100644 --- a/src/Requests/Currencies/FetchExchangeRatesForCurrenciesRequest.php +++ b/src/Requests/Currencies/FetchExchangeRatesForCurrenciesRequest.php @@ -14,8 +14,7 @@ class FetchExchangeRatesForCurrenciesRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/CreateAFileRequest.php b/src/Requests/Files/CreateAFileRequest.php index 966ac0b..20d7f98 100644 --- a/src/Requests/Files/CreateAFileRequest.php +++ b/src/Requests/Files/CreateAFileRequest.php @@ -18,8 +18,7 @@ class CreateAFileRequest extends Request implements HasBody public function __construct( readonly protected array $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/DeleteAFileRequest.php b/src/Requests/Files/DeleteAFileRequest.php index 5de1ecb..55d5a42 100644 --- a/src/Requests/Files/DeleteAFileRequest.php +++ b/src/Requests/Files/DeleteAFileRequest.php @@ -13,8 +13,7 @@ class DeleteAFileRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/DownloadFileRequest.php b/src/Requests/Files/DownloadFileRequest.php index b0bc39e..7e1eb0c 100644 --- a/src/Requests/Files/DownloadFileRequest.php +++ b/src/Requests/Files/DownloadFileRequest.php @@ -11,8 +11,7 @@ class DownloadFileRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/EditAFileRequest.php b/src/Requests/Files/EditAFileRequest.php index d0bdc0b..4a8fac6 100644 --- a/src/Requests/Files/EditAFileRequest.php +++ b/src/Requests/Files/EditAFileRequest.php @@ -20,8 +20,7 @@ class EditAFileRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|EditFileDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/FetchAListOfFilesRequest.php b/src/Requests/Files/FetchAListOfFilesRequest.php index e915895..48f6930 100644 --- a/src/Requests/Files/FetchAListOfFilesRequest.php +++ b/src/Requests/Files/FetchAListOfFilesRequest.php @@ -15,8 +15,7 @@ class FetchAListOfFilesRequest extends Request public function __construct( readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/GetAFilePreviewRequest.php b/src/Requests/Files/GetAFilePreviewRequest.php index d5981e9..28c6295 100644 --- a/src/Requests/Files/GetAFilePreviewRequest.php +++ b/src/Requests/Files/GetAFilePreviewRequest.php @@ -11,8 +11,7 @@ class GetAFilePreviewRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/GetASingleFileRequest.php b/src/Requests/Files/GetASingleFileRequest.php index 511450d..f457f82 100644 --- a/src/Requests/Files/GetASingleFileRequest.php +++ b/src/Requests/Files/GetASingleFileRequest.php @@ -14,8 +14,7 @@ class GetASingleFileRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/SearchFilesRequest.php b/src/Requests/Files/SearchFilesRequest.php index d42a304..5aaf1e8 100644 --- a/src/Requests/Files/SearchFilesRequest.php +++ b/src/Requests/Files/SearchFilesRequest.php @@ -23,8 +23,7 @@ public function __construct( readonly string|SearchCriteriaEnum $searchCriteria = '=', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Files/ShowFileUsageRequest.php b/src/Requests/Files/ShowFileUsageRequest.php index c5f154b..802edb2 100644 --- a/src/Requests/Files/ShowFileUsageRequest.php +++ b/src/Requests/Files/ShowFileUsageRequest.php @@ -14,8 +14,7 @@ class ShowFileUsageRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/IbanPayments/CreateIbanPaymentRequest.php b/src/Requests/IbanPayments/CreateIbanPaymentRequest.php index 77909f3..8943f9f 100644 --- a/src/Requests/IbanPayments/CreateIbanPaymentRequest.php +++ b/src/Requests/IbanPayments/CreateIbanPaymentRequest.php @@ -20,8 +20,7 @@ class CreateIbanPaymentRequest extends Request implements HasBody public function __construct( readonly int $bank_account_id, readonly array|CreateEditIbanPaymentDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/IbanPayments/EditIbanPaymentRequest.php b/src/Requests/IbanPayments/EditIbanPaymentRequest.php index c836466..177d1ff 100644 --- a/src/Requests/IbanPayments/EditIbanPaymentRequest.php +++ b/src/Requests/IbanPayments/EditIbanPaymentRequest.php @@ -23,8 +23,7 @@ public function __construct( readonly string $iban, readonly int $id, readonly array|CreateEditIbanPaymentDTO $data, - ) { - } + ) {} public function defaultQuery(): array { diff --git a/src/Requests/IbanPayments/GetIbanPaymentRequest.php b/src/Requests/IbanPayments/GetIbanPaymentRequest.php index 69148c1..15f84d9 100644 --- a/src/Requests/IbanPayments/GetIbanPaymentRequest.php +++ b/src/Requests/IbanPayments/GetIbanPaymentRequest.php @@ -15,8 +15,7 @@ class GetIbanPaymentRequest extends Request public function __construct( readonly int $bank_account_id, readonly int|string $payment_id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/AddFileToAccountingEntryLineRequest.php b/src/Requests/ManualEntries/AddFileToAccountingEntryLineRequest.php index 8ea3080..694cec8 100644 --- a/src/Requests/ManualEntries/AddFileToAccountingEntryLineRequest.php +++ b/src/Requests/ManualEntries/AddFileToAccountingEntryLineRequest.php @@ -22,8 +22,7 @@ public function __construct( readonly int $manual_entry_id, readonly int $entry_id, readonly protected array|AddFileDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/CreateManualEntryRequest.php b/src/Requests/ManualEntries/CreateManualEntryRequest.php index afe46fb..477f26b 100644 --- a/src/Requests/ManualEntries/CreateManualEntryRequest.php +++ b/src/Requests/ManualEntries/CreateManualEntryRequest.php @@ -19,8 +19,7 @@ class CreateManualEntryRequest extends Request implements HasBody public function __construct( readonly protected array|CreateManualEntryDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/DeleteFileOfAccountingEntryLineRequest.php b/src/Requests/ManualEntries/DeleteFileOfAccountingEntryLineRequest.php index 671fe62..8ab4a02 100644 --- a/src/Requests/ManualEntries/DeleteFileOfAccountingEntryLineRequest.php +++ b/src/Requests/ManualEntries/DeleteFileOfAccountingEntryLineRequest.php @@ -15,8 +15,7 @@ public function __construct( readonly int $manual_entry_id, readonly int $entry_id, readonly int $file_id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/FetchAListOfManualEntriesRequest.php b/src/Requests/ManualEntries/FetchAListOfManualEntriesRequest.php index 9f9c215..7454694 100644 --- a/src/Requests/ManualEntries/FetchAListOfManualEntriesRequest.php +++ b/src/Requests/ManualEntries/FetchAListOfManualEntriesRequest.php @@ -15,8 +15,7 @@ class FetchAListOfManualEntriesRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/FetchFileOfAccountingEntryLineRequest.php b/src/Requests/ManualEntries/FetchFileOfAccountingEntryLineRequest.php index d2e3d85..b5f4dd7 100644 --- a/src/Requests/ManualEntries/FetchFileOfAccountingEntryLineRequest.php +++ b/src/Requests/ManualEntries/FetchFileOfAccountingEntryLineRequest.php @@ -18,8 +18,7 @@ public function __construct( readonly int $file_id, readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/ManualEntries/FetchFilesOfAccountingEntryRequest.php b/src/Requests/ManualEntries/FetchFilesOfAccountingEntryRequest.php index 4236e46..b3fdba0 100644 --- a/src/Requests/ManualEntries/FetchFilesOfAccountingEntryRequest.php +++ b/src/Requests/ManualEntries/FetchFilesOfAccountingEntryRequest.php @@ -17,8 +17,7 @@ public function __construct( readonly int $entry_id, readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/CreateANoteRequest.php b/src/Requests/Notes/CreateANoteRequest.php index ec383fb..6ddebbc 100644 --- a/src/Requests/Notes/CreateANoteRequest.php +++ b/src/Requests/Notes/CreateANoteRequest.php @@ -19,8 +19,7 @@ class CreateANoteRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditNoteDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/DeleteANoteRequest.php b/src/Requests/Notes/DeleteANoteRequest.php index e14f701..1d36dd9 100644 --- a/src/Requests/Notes/DeleteANoteRequest.php +++ b/src/Requests/Notes/DeleteANoteRequest.php @@ -13,8 +13,7 @@ class DeleteANoteRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/EditANoteRequest.php b/src/Requests/Notes/EditANoteRequest.php index 04a997c..ae06934 100644 --- a/src/Requests/Notes/EditANoteRequest.php +++ b/src/Requests/Notes/EditANoteRequest.php @@ -20,8 +20,7 @@ class EditANoteRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditNoteDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/FetchAListOfNotesRequest.php b/src/Requests/Notes/FetchAListOfNotesRequest.php index 7f74617..82ed9db 100644 --- a/src/Requests/Notes/FetchAListOfNotesRequest.php +++ b/src/Requests/Notes/FetchAListOfNotesRequest.php @@ -15,8 +15,7 @@ class FetchAListOfNotesRequest extends Request public function __construct( readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/FetchANoteRequest.php b/src/Requests/Notes/FetchANoteRequest.php index deb54ff..e2bd570 100644 --- a/src/Requests/Notes/FetchANoteRequest.php +++ b/src/Requests/Notes/FetchANoteRequest.php @@ -14,8 +14,7 @@ class FetchANoteRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Notes/SearchNotesRequest.php b/src/Requests/Notes/SearchNotesRequest.php index 1edc3b9..2e1152b 100644 --- a/src/Requests/Notes/SearchNotesRequest.php +++ b/src/Requests/Notes/SearchNotesRequest.php @@ -23,8 +23,7 @@ public function __construct( readonly string|SearchCriteriaEnum $searchCriteria = '=', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Payments/CancelAPaymentRequest.php b/src/Requests/Payments/CancelAPaymentRequest.php index 6d01bd5..11a7da7 100644 --- a/src/Requests/Payments/CancelAPaymentRequest.php +++ b/src/Requests/Payments/CancelAPaymentRequest.php @@ -14,8 +14,7 @@ class CancelAPaymentRequest extends Request public function __construct( readonly int|string $payment_id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Payments/DeleteAPaymentRequest.php b/src/Requests/Payments/DeleteAPaymentRequest.php index ea49a4a..4e136e7 100644 --- a/src/Requests/Payments/DeleteAPaymentRequest.php +++ b/src/Requests/Payments/DeleteAPaymentRequest.php @@ -13,8 +13,7 @@ class DeleteAPaymentRequest extends Request public function __construct( readonly int|string $payment_id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Payments/FetchAListOfPaymentsRequest.php b/src/Requests/Payments/FetchAListOfPaymentsRequest.php index b01e018..d5cca5a 100644 --- a/src/Requests/Payments/FetchAListOfPaymentsRequest.php +++ b/src/Requests/Payments/FetchAListOfPaymentsRequest.php @@ -18,8 +18,7 @@ public function __construct( readonly int|string|null $bill_id = null, readonly ?int $limit = null, readonly ?int $offset = null, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/QrPayments/CreateQrPaymentRequest.php b/src/Requests/QrPayments/CreateQrPaymentRequest.php index 6aeb530..26da5ce 100644 --- a/src/Requests/QrPayments/CreateQrPaymentRequest.php +++ b/src/Requests/QrPayments/CreateQrPaymentRequest.php @@ -20,8 +20,7 @@ class CreateQrPaymentRequest extends Request implements HasBody public function __construct( readonly int $bank_account_id, readonly array|CreateEditQrPaymentDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/QrPayments/EditQrPaymentRequest.php b/src/Requests/QrPayments/EditQrPaymentRequest.php index 65a0d64..4cd76a6 100644 --- a/src/Requests/QrPayments/EditQrPaymentRequest.php +++ b/src/Requests/QrPayments/EditQrPaymentRequest.php @@ -23,8 +23,7 @@ public function __construct( readonly int $iban, readonly int $id, readonly array|CreateEditQrPaymentDTO $data, - ) { - } + ) {} public function defaultQuery(): array { diff --git a/src/Requests/QrPayments/GetQrPaymentRequest.php b/src/Requests/QrPayments/GetQrPaymentRequest.php index 4ced3b9..69039b4 100644 --- a/src/Requests/QrPayments/GetQrPaymentRequest.php +++ b/src/Requests/QrPayments/GetQrPaymentRequest.php @@ -15,8 +15,7 @@ class GetQrPaymentRequest extends Request public function __construct( readonly int $bank_account_id, readonly int|string $payment_id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Reports/JournalRequest.php b/src/Requests/Reports/JournalRequest.php index 90f5815..917f8a0 100644 --- a/src/Requests/Reports/JournalRequest.php +++ b/src/Requests/Reports/JournalRequest.php @@ -18,8 +18,7 @@ public function __construct( readonly string $account_id, readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/CreateASalutationRequest.php b/src/Requests/Salutations/CreateASalutationRequest.php index 0c2d783..a63a068 100644 --- a/src/Requests/Salutations/CreateASalutationRequest.php +++ b/src/Requests/Salutations/CreateASalutationRequest.php @@ -19,8 +19,7 @@ class CreateASalutationRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditSalutationDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/DeleteASalutationRequest.php b/src/Requests/Salutations/DeleteASalutationRequest.php index 43eabfa..e414f56 100644 --- a/src/Requests/Salutations/DeleteASalutationRequest.php +++ b/src/Requests/Salutations/DeleteASalutationRequest.php @@ -13,8 +13,7 @@ class DeleteASalutationRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/EditASalutationRequest.php b/src/Requests/Salutations/EditASalutationRequest.php index ee00c95..da2dfaf 100644 --- a/src/Requests/Salutations/EditASalutationRequest.php +++ b/src/Requests/Salutations/EditASalutationRequest.php @@ -20,8 +20,7 @@ class EditASalutationRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditSalutationDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/FetchAListOfSalutationsRequest.php b/src/Requests/Salutations/FetchAListOfSalutationsRequest.php index 66509c2..b1c01f0 100644 --- a/src/Requests/Salutations/FetchAListOfSalutationsRequest.php +++ b/src/Requests/Salutations/FetchAListOfSalutationsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfSalutationsRequest extends Request public function __construct( readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/FetchASalutationRequest.php b/src/Requests/Salutations/FetchASalutationRequest.php index 8e80293..f905863 100644 --- a/src/Requests/Salutations/FetchASalutationRequest.php +++ b/src/Requests/Salutations/FetchASalutationRequest.php @@ -14,8 +14,7 @@ class FetchASalutationRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Salutations/SearchSalutationsRequest.php b/src/Requests/Salutations/SearchSalutationsRequest.php index 41755cd..d90cfca 100644 --- a/src/Requests/Salutations/SearchSalutationsRequest.php +++ b/src/Requests/Salutations/SearchSalutationsRequest.php @@ -23,8 +23,7 @@ public function __construct( readonly string|SearchCriteriaEnum $searchCriteria = '=', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Taxes/DeleteATaxRequest.php b/src/Requests/Taxes/DeleteATaxRequest.php index 087aa02..c3f6cbd 100644 --- a/src/Requests/Taxes/DeleteATaxRequest.php +++ b/src/Requests/Taxes/DeleteATaxRequest.php @@ -13,8 +13,7 @@ class DeleteATaxRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Taxes/FetchAListOfTaxesRequest.php b/src/Requests/Taxes/FetchAListOfTaxesRequest.php index 7e4a3c0..c639d63 100644 --- a/src/Requests/Taxes/FetchAListOfTaxesRequest.php +++ b/src/Requests/Taxes/FetchAListOfTaxesRequest.php @@ -20,8 +20,7 @@ public function __construct( readonly null|string|ScopeEnum $scope = null, readonly ?string $date = null, readonly null|string|TypesEnum $types = null, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Taxes/FetchATaxRequest.php b/src/Requests/Taxes/FetchATaxRequest.php index 0b9e487..8a1db1d 100644 --- a/src/Requests/Taxes/FetchATaxRequest.php +++ b/src/Requests/Taxes/FetchATaxRequest.php @@ -14,8 +14,7 @@ class FetchATaxRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/CreateATitleRequest.php b/src/Requests/Titles/CreateATitleRequest.php index 5615a65..b9ef551 100644 --- a/src/Requests/Titles/CreateATitleRequest.php +++ b/src/Requests/Titles/CreateATitleRequest.php @@ -19,8 +19,7 @@ class CreateATitleRequest extends Request implements HasBody public function __construct( readonly protected array|CreateEditTitleDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/DeleteATitleRequest.php b/src/Requests/Titles/DeleteATitleRequest.php index d0ce09c..79d07b9 100644 --- a/src/Requests/Titles/DeleteATitleRequest.php +++ b/src/Requests/Titles/DeleteATitleRequest.php @@ -13,8 +13,7 @@ class DeleteATitleRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/EditATitleRequest.php b/src/Requests/Titles/EditATitleRequest.php index c18ccbd..7ada5db 100644 --- a/src/Requests/Titles/EditATitleRequest.php +++ b/src/Requests/Titles/EditATitleRequest.php @@ -20,8 +20,7 @@ class EditATitleRequest extends Request implements HasBody public function __construct( readonly int $id, readonly protected array|CreateEditTitleDTO $data, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/FetchAListOfTitlesRequest.php b/src/Requests/Titles/FetchAListOfTitlesRequest.php index cfa5dc0..2b1af67 100644 --- a/src/Requests/Titles/FetchAListOfTitlesRequest.php +++ b/src/Requests/Titles/FetchAListOfTitlesRequest.php @@ -17,8 +17,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/FetchATitleRequest.php b/src/Requests/Titles/FetchATitleRequest.php index 0ae61da..2461691 100644 --- a/src/Requests/Titles/FetchATitleRequest.php +++ b/src/Requests/Titles/FetchATitleRequest.php @@ -14,8 +14,7 @@ class FetchATitleRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/Titles/SearchTitlesRequest.php b/src/Requests/Titles/SearchTitlesRequest.php index e8bdb5b..a204f97 100644 --- a/src/Requests/Titles/SearchTitlesRequest.php +++ b/src/Requests/Titles/SearchTitlesRequest.php @@ -25,8 +25,7 @@ public function __construct( readonly string|OrderByEnum $orderBy = 'id', readonly int $limit = 500, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/VatPeriods/FetchAListOfVatPeriodsRequest.php b/src/Requests/VatPeriods/FetchAListOfVatPeriodsRequest.php index 8890707..9404c08 100644 --- a/src/Requests/VatPeriods/FetchAListOfVatPeriodsRequest.php +++ b/src/Requests/VatPeriods/FetchAListOfVatPeriodsRequest.php @@ -15,8 +15,7 @@ class FetchAListOfVatPeriodsRequest extends Request public function __construct( readonly int $limit = 2000, readonly int $offset = 0, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/src/Requests/VatPeriods/FetchAVatPeriodRequest.php b/src/Requests/VatPeriods/FetchAVatPeriodRequest.php index 94ae245..f86d650 100644 --- a/src/Requests/VatPeriods/FetchAVatPeriodRequest.php +++ b/src/Requests/VatPeriods/FetchAVatPeriodRequest.php @@ -14,8 +14,7 @@ class FetchAVatPeriodRequest extends Request public function __construct( readonly int $id, - ) { - } + ) {} public function resolveEndpoint(): string { diff --git a/tests/Requests/AccountGroups/FetchAListOfAccountGroupsRequestTest.php b/tests/Requests/AccountGroups/FetchAListOfAccountGroupsRequestTest.php index e99da2b..21df5e3 100644 --- a/tests/Requests/AccountGroups/FetchAListOfAccountGroupsRequestTest.php +++ b/tests/Requests/AccountGroups/FetchAListOfAccountGroupsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfAccountGroupsRequest()); + $response = $connector->send(new FetchAListOfAccountGroupsRequest); $mockClient->assertSent(FetchAListOfAccountGroupsRequest::class); diff --git a/tests/Requests/Accounts/FetchAListOfAccountsRequestTest.php b/tests/Requests/Accounts/FetchAListOfAccountsRequestTest.php index 3053b1f..b11c4b1 100644 --- a/tests/Requests/Accounts/FetchAListOfAccountsRequestTest.php +++ b/tests/Requests/Accounts/FetchAListOfAccountsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfAccountsRequest()); + $response = $connector->send(new FetchAListOfAccountsRequest); $mockClient->assertSent(FetchAListOfAccountsRequest::class); diff --git a/tests/Requests/BankAccounts/FetchAListOfBankAccountsRequestTest.php b/tests/Requests/BankAccounts/FetchAListOfBankAccountsRequestTest.php index ac95ca3..3a34cdc 100644 --- a/tests/Requests/BankAccounts/FetchAListOfBankAccountsRequestTest.php +++ b/tests/Requests/BankAccounts/FetchAListOfBankAccountsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfBankAccountsRequest()); + $response = $connector->send(new FetchAListOfBankAccountsRequest); $mockClient->assertSent(FetchAListOfBankAccountsRequest::class); diff --git a/tests/Requests/BusinessYears/FetchAListOfBusinessYearsRequestTest.php b/tests/Requests/BusinessYears/FetchAListOfBusinessYearsRequestTest.php index d87c961..410384b 100644 --- a/tests/Requests/BusinessYears/FetchAListOfBusinessYearsRequestTest.php +++ b/tests/Requests/BusinessYears/FetchAListOfBusinessYearsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfBusinessYearsRequest()); + $response = $connector->send(new FetchAListOfBusinessYearsRequest); $mockClient->assertSent(FetchAListOfBusinessYearsRequest::class); diff --git a/tests/Requests/CalendarYears/FetchAListOfCalendarYearsRequestTest.php b/tests/Requests/CalendarYears/FetchAListOfCalendarYearsRequestTest.php index 54505eb..87974cc 100644 --- a/tests/Requests/CalendarYears/FetchAListOfCalendarYearsRequestTest.php +++ b/tests/Requests/CalendarYears/FetchAListOfCalendarYearsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfCalendarYearsRequest()); + $response = $connector->send(new FetchAListOfCalendarYearsRequest); $mockClient->assertSent(FetchAListOfCalendarYearsRequest::class); diff --git a/tests/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequestTest.php b/tests/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequestTest.php index 0af5c5a..85c1ae0 100644 --- a/tests/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequestTest.php +++ b/tests/Requests/CompanyProfiles/FetchAListOfCompanyProfilesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfCompanyProfilesRequest()); + $response = $connector->send(new FetchAListOfCompanyProfilesRequest); $mockClient->assertSent(FetchAListOfCompanyProfilesRequest::class); diff --git a/tests/Requests/Contacts/FetchAListOfContactsRequestTest.php b/tests/Requests/Contacts/FetchAListOfContactsRequestTest.php index 54614b7..141468c 100644 --- a/tests/Requests/Contacts/FetchAListOfContactsRequestTest.php +++ b/tests/Requests/Contacts/FetchAListOfContactsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfContactsRequest()); + $response = $connector->send(new FetchAListOfContactsRequest); $mockClient->assertSent(FetchAListOfContactsRequest::class); diff --git a/tests/Requests/ContactsGroups/FetchAListOfContactGroupsRequestTest.php b/tests/Requests/ContactsGroups/FetchAListOfContactGroupsRequestTest.php index 8ab7592..954ff14 100644 --- a/tests/Requests/ContactsGroups/FetchAListOfContactGroupsRequestTest.php +++ b/tests/Requests/ContactsGroups/FetchAListOfContactGroupsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfContactGroupsRequest()); + $response = $connector->send(new FetchAListOfContactGroupsRequest); $mockClient->assertSent(FetchAListOfContactGroupsRequest::class); diff --git a/tests/Requests/ContactsRelations/FetchAListOfContactRelationsRequestTest.php b/tests/Requests/ContactsRelations/FetchAListOfContactRelationsRequestTest.php index db665fa..6e23b69 100644 --- a/tests/Requests/ContactsRelations/FetchAListOfContactRelationsRequestTest.php +++ b/tests/Requests/ContactsRelations/FetchAListOfContactRelationsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfContactRelationsRequest()); + $response = $connector->send(new FetchAListOfContactRelationsRequest); $mockClient->assertSent(FetchAListOfContactRelationsRequest::class); diff --git a/tests/Requests/ContactsSectors/FetchAListOfContactSectorsRequestTest.php b/tests/Requests/ContactsSectors/FetchAListOfContactSectorsRequestTest.php index 581f019..3c548b5 100644 --- a/tests/Requests/ContactsSectors/FetchAListOfContactSectorsRequestTest.php +++ b/tests/Requests/ContactsSectors/FetchAListOfContactSectorsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfContactSectorsRequest()); + $response = $connector->send(new FetchAListOfContactSectorsRequest); $mockClient->assertSent(FetchAListOfContactSectorsRequest::class); diff --git a/tests/Requests/Currencies/FetchAListOfCurrenciesRequestTest.php b/tests/Requests/Currencies/FetchAListOfCurrenciesRequestTest.php index 6ec0f3e..27eabf9 100644 --- a/tests/Requests/Currencies/FetchAListOfCurrenciesRequestTest.php +++ b/tests/Requests/Currencies/FetchAListOfCurrenciesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfCurrenciesRequest()); + $response = $connector->send(new FetchAListOfCurrenciesRequest); $mockClient->assertSent(FetchAListOfCurrenciesRequest::class); diff --git a/tests/Requests/Currencies/FetchAllPossibleCurrencyCodesRequestTest.php b/tests/Requests/Currencies/FetchAllPossibleCurrencyCodesRequestTest.php index 4e73d55..778eb87 100644 --- a/tests/Requests/Currencies/FetchAllPossibleCurrencyCodesRequestTest.php +++ b/tests/Requests/Currencies/FetchAllPossibleCurrencyCodesRequestTest.php @@ -13,7 +13,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAllPossibleCurrencyCodesRequest()); + $response = $connector->send(new FetchAllPossibleCurrencyCodesRequest); $mockClient->assertSent(FetchAllPossibleCurrencyCodesRequest::class); }); diff --git a/tests/Requests/Files/FetchAListOfFilesRequestTest.php b/tests/Requests/Files/FetchAListOfFilesRequestTest.php index 32ce914..3bc1869 100644 --- a/tests/Requests/Files/FetchAListOfFilesRequestTest.php +++ b/tests/Requests/Files/FetchAListOfFilesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfFilesRequest()); + $response = $connector->send(new FetchAListOfFilesRequest); $mockClient->assertSent(FetchAListOfFilesRequest::class); diff --git a/tests/Requests/ManualEntries/FetchAListOfManualEntriesRequestTest.php b/tests/Requests/ManualEntries/FetchAListOfManualEntriesRequestTest.php index a330180..56c8513 100644 --- a/tests/Requests/ManualEntries/FetchAListOfManualEntriesRequestTest.php +++ b/tests/Requests/ManualEntries/FetchAListOfManualEntriesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfManualEntriesRequest()); + $response = $connector->send(new FetchAListOfManualEntriesRequest); $mockClient->assertSent(FetchAListOfManualEntriesRequest::class); diff --git a/tests/Requests/ManualEntries/GetNextReferenceNumberRequestTest.php b/tests/Requests/ManualEntries/GetNextReferenceNumberRequestTest.php index 5740582..b171005 100644 --- a/tests/Requests/ManualEntries/GetNextReferenceNumberRequestTest.php +++ b/tests/Requests/ManualEntries/GetNextReferenceNumberRequestTest.php @@ -13,7 +13,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new GetNextReferenceNumberRequest()); + $response = $connector->send(new GetNextReferenceNumberRequest); $mockClient->assertSent(GetNextReferenceNumberRequest::class); }); diff --git a/tests/Requests/Notes/FetchAListOfNotesRequestTest.php b/tests/Requests/Notes/FetchAListOfNotesRequestTest.php index 1c9e1b4..357cb59 100644 --- a/tests/Requests/Notes/FetchAListOfNotesRequestTest.php +++ b/tests/Requests/Notes/FetchAListOfNotesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfNotesRequest()); + $response = $connector->send(new FetchAListOfNotesRequest); $mockClient->assertSent(FetchAListOfNotesRequest::class); diff --git a/tests/Requests/Payments/FetchAListOfPaymentsTest.php b/tests/Requests/Payments/FetchAListOfPaymentsTest.php index 4881825..657fdea 100644 --- a/tests/Requests/Payments/FetchAListOfPaymentsTest.php +++ b/tests/Requests/Payments/FetchAListOfPaymentsTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfPaymentsRequest()); + $response = $connector->send(new FetchAListOfPaymentsRequest); $mockClient->assertSent(FetchAListOfPaymentsRequest::class); diff --git a/tests/Requests/Salutations/FetchAListOfSalutationsRequestTest.php b/tests/Requests/Salutations/FetchAListOfSalutationsRequestTest.php index e0bbe69..58cee71 100644 --- a/tests/Requests/Salutations/FetchAListOfSalutationsRequestTest.php +++ b/tests/Requests/Salutations/FetchAListOfSalutationsRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfSalutationsRequest()); + $response = $connector->send(new FetchAListOfSalutationsRequest); $mockClient->assertSent(FetchAListOfSalutationsRequest::class); diff --git a/tests/Requests/Taxes/FetchAListOfTaxesRequestTest.php b/tests/Requests/Taxes/FetchAListOfTaxesRequestTest.php index f3aea89..c0f3a5e 100644 --- a/tests/Requests/Taxes/FetchAListOfTaxesRequestTest.php +++ b/tests/Requests/Taxes/FetchAListOfTaxesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfTaxesRequest()); + $response = $connector->send(new FetchAListOfTaxesRequest); $mockClient->assertSent(FetchAListOfTaxesRequest::class); diff --git a/tests/Requests/Titles/FetchAListOfTitlesRequestTest.php b/tests/Requests/Titles/FetchAListOfTitlesRequestTest.php index 3c612a2..6f17164 100644 --- a/tests/Requests/Titles/FetchAListOfTitlesRequestTest.php +++ b/tests/Requests/Titles/FetchAListOfTitlesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfTitlesRequest()); + $response = $connector->send(new FetchAListOfTitlesRequest); $mockClient->assertSent(FetchAListOfTitlesRequest::class); diff --git a/tests/Requests/VatPeriods/FetchAListOfTaxesRequestTest.php b/tests/Requests/VatPeriods/FetchAListOfTaxesRequestTest.php index ce427ef..4612394 100644 --- a/tests/Requests/VatPeriods/FetchAListOfTaxesRequestTest.php +++ b/tests/Requests/VatPeriods/FetchAListOfTaxesRequestTest.php @@ -14,7 +14,7 @@ $connector = new BexioConnector; // $connector->withMockClient($mockClient); - $response = $connector->send(new FetchAListOfVatPeriodsRequest()); + $response = $connector->send(new FetchAListOfVatPeriodsRequest); $mockClient->assertSent(FetchAListOfVatPeriodsRequest::class);