Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 31, 2024
1 parent 5383054 commit 80fbc74
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 27 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: tests
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

jobs:
tests:
Expand Down
20 changes: 0 additions & 20 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand All @@ -165,8 +153,6 @@ final public function payout(): Contracts\Payout

/**
* Get payout instruction resource.
*
* @return \Billplz\Contracts\PaymentOrder
*/
final public function paymentOrder(): Contracts\PaymentOrder
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand All @@ -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
{
Expand Down
2 changes: 0 additions & 2 deletions src/Four/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 0 additions & 2 deletions src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ protected function responseWith(ResponseInterface $message): ResponseContract

/**
* Resolve the sanitizer class.
*
* @return \Billplz\Sanitizer
*/
protected function sanitizeWith(): Sanitizer
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 80fbc74

Please sign in to comment.