Skip to content

Commit bc0531e

Browse files
authored
7.x minor updates (#753)
* Update GitHub test-suite to use Ubuntu-22.04 * Update the LoggerConfiguration `isSkipped` method parameter `$operation` to be explicitly null
1 parent 21f32c9 commit bc0531e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
static-analyze:
1414
name: "Static Analyze"
1515

16-
runs-on: "ubuntu-20.04"
16+
runs-on: "ubuntu-22.04"
1717

1818
steps:
1919
- name: "Checkout"
@@ -59,7 +59,7 @@ jobs:
5959
php-version:
6060
- "8.2"
6161
operating-system:
62-
- "ubuntu-20.04"
62+
- "ubuntu-22.04"
6363

6464
steps:
6565
- name: "Checkout"

src/AmazonPHP/SellingPartner/Configuration/LoggerConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function enableAPIOperation(string $api, string $operation) : self
124124
return $this;
125125
}
126126

127-
public function isSkipped(string $api, string $operation = null) : bool
127+
public function isSkipped(string $api, string|null $operation = null) : bool
128128
{
129129
if (\in_array($api, $this->skippedAPIs, true)) {
130130
return true;

0 commit comments

Comments
 (0)