Skip to content

Commit 2572f76

Browse files
committed
CI fixes
Signed-off-by: Joey Smith <[email protected]> Signed-off-by: Joey Smith <[email protected]>
1 parent 7e7dadf commit 2572f76

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

test/unit/Adapter/Driver/Pdo/TestAsset/TestConnection.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ private function buildDsn(): string
5252
};
5353
}
5454

55-
/**
56-
* @param string|null $name
57-
*/
55+
/** @phpstan-ignore return.unusedType */
5856
#[Override]
59-
public function getLastGeneratedValue($name = null): string|bool|null
57+
public function getLastGeneratedValue(?string $name = null): string|int|false
6058
{
6159
return $this->resource?->lastInsertId($name) ?? null;
6260
}

test/unit/TestAsset/ConnectionWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public function getCurrentSchema(): string
2929
return 'test_schema';
3030
}
3131

32-
public function getLastGeneratedValue(mixed $name = null): int|string|bool|null
32+
public function getLastGeneratedValue(?string $name = null): string|int|false
3333
{
34-
return null;
34+
return false;
3535
}
3636

3737
public function getNestedTransactionsCount(): int

0 commit comments

Comments
 (0)