Skip to content

Commit 2328a59

Browse files
committed
Add explicit nullable
1 parent 4a68c5f commit 2328a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adyen/Service.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public function getClient(): Client
5555
protected function requestHttp(
5656
string $url,
5757
string $method = 'get',
58-
array $bodyParams = null,
59-
array $requestOptions = null
58+
?array $bodyParams = null,
59+
?array $requestOptions = null
6060
): array {
6161
// check if rest api method has a value
6262
if (!$method) {

0 commit comments

Comments
 (0)