Skip to content

Commit 0cd2826

Browse files
committed
Address integration and phpstan errors
1 parent 379b1c0 commit 0cd2826

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/App/GenericException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GenericException extends \Exception
1919
/**
2020
* @inheritDoc
2121
*/
22-
public function __construct(string $message, int $code = 0, Throwable $previous = null)
22+
public function __construct(string $message, int $code = 0, Throwable | null $previous = null)
2323
{
2424
parent::__construct($message, $code, $previous);
2525
}

src/Test/Integration/Schema/ValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function setUp(): void
5353
public function testValidate(
5454
string $key,
5555
$value,
56-
ResultInterface $expected = null,
56+
ResultInterface | null $expected = null,
5757
string $stage = StageConfigInterface::STAGE_DEPLOY
5858
): void {
5959
$expected = $expected ?? new Success();

0 commit comments

Comments
 (0)