Skip to content

Commit

Permalink
Fixes coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and github-actions[bot] committed Dec 12, 2024
1 parent 9f693e4 commit fbf8e3e
Show file tree
Hide file tree
Showing 53 changed files with 68 additions and 71 deletions.
2 changes: 1 addition & 1 deletion src/Contracts/HttpAdapterContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Mollie\Api\Contracts;

use Mollie\Api\Utils\Factories;
use Mollie\Api\Http\PendingRequest;
use Mollie\Api\Http\Response;
use Mollie\Api\Utils\Factories;

interface HttpAdapterContract
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/BalanceEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedBalanceQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetBalanceRequest;
use Mollie\Api\Http\Requests\GetPaginatedBalanceRequest;
use Mollie\Api\Resources\Balance;
use Mollie\Api\Resources\BalanceCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Utils\Utility;

class BalanceEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/BalanceReportEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Mollie\Api\EndpointCollection;

use Mollie\Api\Factories\GetBalanceReportQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetBalanceReportQuery;
use Mollie\Api\Http\Requests\GetBalanceReportRequest;
use Mollie\Api\Resources\Balance;
use Mollie\Api\Resources\BalanceReport;
use Mollie\Api\Utils\Utility;

class BalanceReportEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/ChargebackEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedChargebackQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPaginatedChargebacksRequest;
use Mollie\Api\Resources\ChargebackCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Utils\Utility;

class ChargebackEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/CustomerEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Mollie\Api\Factories\CreateCustomerPayloadFactory;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Factories\UpdateCustomerPayloadFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreateCustomerPayload;
use Mollie\Api\Http\Data\UpdateCustomerPayload;
use Mollie\Api\Http\Requests\CreateCustomerRequest;
Expand All @@ -17,6 +16,7 @@
use Mollie\Api\Resources\Customer;
use Mollie\Api\Resources\CustomerCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Utils\Utility;

class CustomerEndpointCollection extends EndpointCollection
{
Expand Down
4 changes: 2 additions & 2 deletions src/EndpointCollection/CustomerPaymentsEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\CreatePaymentPayloadFactory;
use Mollie\Api\Factories\GetPaginatedCustomerPaymentsQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Utils\Arr;
use Mollie\Api\Http\Data\CreatePaymentPayload;
use Mollie\Api\Http\Data\CreatePaymentQuery;
use Mollie\Api\Http\Requests\CreateCustomerPaymentRequest;
Expand All @@ -15,6 +13,8 @@
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Payment;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Utils\Arr;
use Mollie\Api\Utils\Utility;

class CustomerPaymentsEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/MandateEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\CreateMandatePayloadFactory;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreateMandatePayload;
use Mollie\Api\Http\Requests\CreateMandateRequest;
use Mollie\Api\Http\Requests\GetMandateRequest;
Expand All @@ -15,6 +14,7 @@
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Mandate;
use Mollie\Api\Resources\MandateCollection;
use Mollie\Api\Utils\Utility;

class MandateEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/MethodEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Mollie\Api\Factories\GetAllPaymentMethodsQueryFactory;
use Mollie\Api\Factories\GetEnabledPaymentMethodsQueryFactory;
use Mollie\Api\Factories\GetPaymentMethodQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetAllMethodsQuery as GetAllPaymentMethodsQuery;
use Mollie\Api\Http\Data\GetEnabledPaymentMethodsQuery;
use Mollie\Api\Http\Data\GetPaymentMethodQuery;
Expand All @@ -15,6 +14,7 @@
use Mollie\Api\Http\Requests\GetPaymentMethodRequest;
use Mollie\Api\Resources\Method;
use Mollie\Api\Resources\MethodCollection;
use Mollie\Api\Utils\Utility;

class MethodEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/OrganizationEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Mollie\Api\EndpointCollection;

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetOrganizationPartnerStatusRequest;
use Mollie\Api\Http\Requests\GetOrganizationRequest;
use Mollie\Api\Resources\Organization;
use Mollie\Api\Resources\Partner;
use Mollie\Api\Utils\Utility;

class OrganizationEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Mollie\Api\Factories\CreatePaymentCapturePayloadFactory;
use Mollie\Api\Factories\GetPaginatedPaymentCapturesQueryFactory;
use Mollie\Api\Factories\GetPaymentCaptureQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreatePaymentCapturePayload;
use Mollie\Api\Http\Data\GetPaginatedPaymentCapturesQuery;
use Mollie\Api\Http\Data\GetPaymentCaptureQuery;
Expand All @@ -17,6 +16,7 @@
use Mollie\Api\Resources\CaptureCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Payment;
use Mollie\Api\Utils\Utility;

class PaymentCaptureEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedPaymentChargebacksQueryFactory;
use Mollie\Api\Factories\GetPaymentChargebackQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetPaginatedPaymentChargebacksQuery;
use Mollie\Api\Http\Data\GetPaymentChargebackQuery;
use Mollie\Api\Http\Requests\GetPaginatedPaymentChargebacksRequest;
Expand All @@ -14,6 +13,7 @@
use Mollie\Api\Resources\ChargebackCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Payment;
use Mollie\Api\Utils\Utility;

class PaymentChargebackEndpointCollection extends EndpointCollection
{
Expand Down
4 changes: 2 additions & 2 deletions src/EndpointCollection/PaymentEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use Mollie\Api\Factories\GetPaymentQueryFactory;
use Mollie\Api\Factories\SortablePaginatedQueryFactory;
use Mollie\Api\Factories\UpdatePaymentPayloadFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Utils\Arr;
use Mollie\Api\Http\Data\CreatePaymentPayload;
use Mollie\Api\Http\Data\CreatePaymentQuery;
use Mollie\Api\Http\Data\CreateRefundPaymentPayload;
Expand All @@ -25,6 +23,8 @@
use Mollie\Api\Resources\Payment;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Resources\Refund;
use Mollie\Api\Utils\Arr;
use Mollie\Api\Utils\Utility;

class PaymentEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/PaymentLinkEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Mollie\Api\Factories\CreatePaymentLinkPayloadFactory;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Factories\UpdatePaymentLinkPayloadFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreatePaymentLinkPayload;
use Mollie\Api\Http\Data\UpdatePaymentLinkPayload;
use Mollie\Api\Http\Requests\CreatePaymentLinkRequest;
Expand All @@ -17,6 +16,7 @@
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\PaymentLink;
use Mollie\Api\Resources\PaymentLinkCollection;
use Mollie\Api\Utils\Utility;

class PaymentLinkEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\SortablePaginatedQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPaginatedPaymentLinkPaymentsRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Payment;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Resources\PaymentLink;
use Mollie\Api\Utils\Utility;

class PaymentLinkPaymentEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/PaymentRefundEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Mollie\Api\Factories\CreateRefundPaymentPayloadFactory;
use Mollie\Api\Factories\GetPaginatedPaymentRefundQueryFactory;
use Mollie\Api\Factories\GetPaymentRefundQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreateRefundPaymentPayload;
use Mollie\Api\Http\Data\GetPaymentRefundQuery;
use Mollie\Api\Http\Requests\CancelPaymentRefundRequest;
Expand All @@ -16,6 +15,7 @@
use Mollie\Api\Resources\Payment;
use Mollie\Api\Resources\Refund;
use Mollie\Api\Resources\RefundCollection;
use Mollie\Api\Utils\Utility;

class PaymentRefundEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/PermissionEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Mollie\Api\EndpointCollection;

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPermissionRequest;
use Mollie\Api\Http\Requests\ListPermissionsRequest;
use Mollie\Api\Resources\Permission;
use Mollie\Api\Resources\PermissionCollection;
use Mollie\Api\Utils\Utility;

class PermissionEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/ProfileEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Mollie\Api\Factories\CreateProfilePayloadFactory;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Factories\UpdateProfilePayloadFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreateProfilePayload;
use Mollie\Api\Http\Data\UpdateProfilePayload;
use Mollie\Api\Http\Requests\CreateProfileRequest;
Expand All @@ -18,6 +17,7 @@
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Profile;
use Mollie\Api\Resources\ProfileCollection;
use Mollie\Api\Utils\Utility;

class ProfileEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/RefundEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedRefundsQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPaginatedRefundsRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\RefundCollection;
use Mollie\Api\Utils\Utility;

class RefundEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedSettlementCapturesQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetPaginatedSettlementCapturesQuery;
use Mollie\Api\Http\Requests\GetPaginatedSettlementCapturesRequest;
use Mollie\Api\Resources\CaptureCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Settlement;
use Mollie\Api\Utils\Utility;

class SettlementCaptureEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedSettlementChargebacksQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetPaginatedSettlementChargebacksQuery;
use Mollie\Api\Http\Requests\GetPaginatedSettlementChargebacksRequest;
use Mollie\Api\Resources\ChargebackCollection;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Settlement;
use Mollie\Api\Utils\Utility;

class SettlementChargebackEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\SortablePaginatedQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\SortablePaginatedQuery;
use Mollie\Api\Http\Requests\GetPaginatedSettlementPaymentsRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Resources\Settlement;
use Mollie\Api\Utils\Utility;

class SettlementPaymentEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\GetPaginatedSettlementRefundsQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\GetPaginatedSettlementRefundsQuery;
use Mollie\Api\Http\Requests\GetPaginatedSettlementRefundsRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\RefundCollection;
use Mollie\Api\Resources\Settlement;
use Mollie\Api\Utils\Utility;

class SettlementRefundEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/SubscriptionEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Mollie\Api\Factories\GetAllPaginatedSubscriptionsQueryFactory;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Factories\UpdateSubscriptionPayloadFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\CreateSubscriptionPayload;
use Mollie\Api\Http\Data\UpdateSubscriptionPayload;
use Mollie\Api\Http\Requests\CancelSubscriptionRequest;
Expand All @@ -20,6 +19,7 @@
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Subscription;
use Mollie\Api\Resources\SubscriptionCollection;
use Mollie\Api\Utils\Utility;

class SubscriptionEndpointCollection extends EndpointCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPaginatedSubscriptionPaymentsRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\PaymentCollection;
use Mollie\Api\Resources\Subscription;
use Mollie\Api\Utils\Utility;

class SubscriptionPaymentEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndpointCollection/TerminalEndpointCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Mollie\Api\Exceptions\ApiException;
use Mollie\Api\Factories\PaginatedQueryFactory;
use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Requests\GetPaginatedTerminalsRequest;
use Mollie\Api\Http\Requests\GetTerminalRequest;
use Mollie\Api\Resources\LazyCollection;
use Mollie\Api\Resources\Terminal;
use Mollie\Api\Resources\TerminalCollection;
use Mollie\Api\Utils\Utility;

class TerminalEndpointCollection extends EndpointCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/Factories/CreatePaymentPayloadFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Mollie\Api\Factories;

use Mollie\Api\Utils\Utility;
use Mollie\Api\Http\Data\Address;
use Mollie\Api\Http\Data\CreatePaymentPayload;
use Mollie\Api\Http\Data\Metadata;
use Mollie\Api\Utils\Utility;

class CreatePaymentPayloadFactory extends Factory
{
Expand Down
Loading

0 comments on commit fbf8e3e

Please sign in to comment.