Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 10, 2023
1 parent b2ddae1 commit 520a2c6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
20 changes: 20 additions & 0 deletions phpstan-baseline.neon
Expand Up @@ -25,6 +25,16 @@ parameters:
count: 1
path: src/Client.php

-
message: "#^Method Billplz\\\\Client\\:\\:paymentOrder\\(\\) should return Billplz\\\\Contracts\\\\PaymentOrder but returns Laravie\\\\Codex\\\\Contracts\\\\Request\\.$#"
count: 1
path: src/Client.php

-
message: "#^Method Billplz\\\\Client\\:\\:paymentOrderCollection\\(\\) should return Billplz\\\\Contracts\\\\PaymentOrderCollection but returns Laravie\\\\Codex\\\\Contracts\\\\Request\\.$#"
count: 1
path: src/Client.php

-
message: "#^Method Billplz\\\\Client\\:\\:payout\\(\\) should return Billplz\\\\Contracts\\\\Payout but returns Laravie\\\\Codex\\\\Contracts\\\\Request\\.$#"
count: 1
Expand All @@ -40,6 +50,16 @@ parameters:
count: 1
path: src/Client.php

-
message: "#^Parameter \\#1 \\$key of static method Billplz\\\\Checksum\\:\\:create\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/Five/PaymentOrder.php

-
message: "#^Parameter \\#1 \\$key of static method Billplz\\\\Checksum\\:\\:create\\(\\) expects string, string\\|null given\\.$#"
count: 2
path: src/Five/PaymentOrderCollection.php

-
message: "#^Method Billplz\\\\Four\\\\Collection\\:\\:payout\\(\\) should return Billplz\\\\Four\\\\Collection\\\\Payout but returns Laravie\\\\Codex\\\\Contracts\\\\Request\\.$#"
count: 1
Expand Down
1 change: 0 additions & 1 deletion src/Contracts/PaymentOrderCollection.php
Expand Up @@ -10,7 +10,6 @@ interface PaymentOrderCollection extends Request
/**
* Create a Payment Order Collection
*
* @param \Money\Money|\Duit\MYR|int $amount
* @param array<string, mixed> $optional
*/
public function create(
Expand Down
4 changes: 2 additions & 2 deletions src/Five/PaymentOrder.php
Expand Up @@ -74,8 +74,8 @@ public function get(
/**
* Get a Payment Order Limit
*/
public function limit(
): Response {
public function limit(): Response
{
$epoch = time();

$body['epoch'] = $epoch;
Expand Down

0 comments on commit 520a2c6

Please sign in to comment.