From 80fbc748ca53c8496f415a09b4886bd1d86d722d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 31 Mar 2024 22:05:28 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 3 +-- src/Client.php | 20 -------------------- src/Four/Collection.php | 2 -- src/Request.php | 2 -- tests/TestCase.php | 2 +- 5 files changed, 2 insertions(+), 27 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8ede41..69768e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,8 +3,7 @@ name: tests on: push: pull_request: - schedule: - - cron: '0 0 1 * *' + workflow_dispatch: jobs: tests: diff --git a/src/Client.php b/src/Client.php index 3428e81..7eff30f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -105,8 +105,6 @@ final public function setSignatureKey(?string $signatureKey = null): self /** * Get Collection resource. - * - * @return \Billplz\Contracts\Collection */ final public function collection(?string $version = null): Contracts\Collection { @@ -115,8 +113,6 @@ final public function collection(?string $version = null): Contracts\Collection /** * Get Open Collection resource. - * - * @return \Billplz\Contracts\OpenCollection */ final public function openCollection(?string $version = null): Contracts\OpenCollection { @@ -125,8 +121,6 @@ final public function openCollection(?string $version = null): Contracts\OpenCol /** * Get bill resource. - * - * @return \Billplz\Contracts\Bill */ final public function bill(?string $version = null): Contracts\Bill { @@ -135,8 +129,6 @@ final public function bill(?string $version = null): Contracts\Bill /** * Get transaction resource. - * - * @return \Billplz\Contracts\Bill\Transaction */ final public function transaction(?string $version = null): Contracts\Bill\Transaction { @@ -145,8 +137,6 @@ final public function transaction(?string $version = null): Contracts\Bill\Trans /** * Get payout instruction collection resource. - * - * @return \Billplz\Contracts\Collection\Payout */ final public function payoutCollection(): Contracts\Collection\Payout { @@ -155,8 +145,6 @@ final public function payoutCollection(): Contracts\Collection\Payout /** * Get payout instruction resource. - * - * @return \Billplz\Contracts\Payout */ final public function payout(): Contracts\Payout { @@ -165,8 +153,6 @@ final public function payout(): Contracts\Payout /** * Get payout instruction resource. - * - * @return \Billplz\Contracts\PaymentOrder */ final public function paymentOrder(): Contracts\PaymentOrder { @@ -175,8 +161,6 @@ final public function paymentOrder(): Contracts\PaymentOrder /** * Get payout instruction collection resource. - * - * @return \Billplz\Contracts\PaymentOrderCollection */ final public function paymentOrderCollection(): Contracts\PaymentOrderCollection { @@ -185,8 +169,6 @@ final public function paymentOrderCollection(): Contracts\PaymentOrderCollection /** * Get bank resource. - * - * @return \Billplz\Contracts\BankAccount */ final public function bank(?string $version = null): Contracts\BankAccount { @@ -195,8 +177,6 @@ final public function bank(?string $version = null): Contracts\BankAccount /** * Get card resource. - * - * @return \Billplz\Contracts\Card */ final public function card(): Contracts\Card { diff --git a/src/Four/Collection.php b/src/Four/Collection.php index 65f39dd..12b0536 100644 --- a/src/Four/Collection.php +++ b/src/Four/Collection.php @@ -36,8 +36,6 @@ public function deactivate(string $id): Response /** * Get mass payment instruction collection resource. - * - * @return \Billplz\Four\Collection\Payout */ public function payout(): Collection\Payout { diff --git a/src/Request.php b/src/Request.php index 4283ca9..28f3f07 100644 --- a/src/Request.php +++ b/src/Request.php @@ -40,8 +40,6 @@ protected function responseWith(ResponseInterface $message): ResponseContract /** * Resolve the sanitizer class. - * - * @return \Billplz\Sanitizer */ protected function sanitizeWith(): Sanitizer { diff --git a/tests/TestCase.php b/tests/TestCase.php index 9da21ca..a853a74 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -92,7 +92,7 @@ protected function expectStreamRequest($method = 'GET', $uri = '/', array $heade * * @param \Laravie\Codex\Testing\FakeRequest|null $faker */ - protected function makeClient(Faker $faker = null): Client + protected function makeClient(?Faker $faker = null): Client { if (\is_null($faker)) { $faker = Faker::create();