Skip to content

Commit 3db8f06

Browse files
committed
cs fix
1 parent 23808c5 commit 3db8f06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/Database/BaseConnectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getWithTrue(): int|true
189189

190190
public function testCachesTypedPropertiesIncrementally(): void
191191
{
192-
$factory = fn (array $options) => new class ($options) extends MockConnection {
192+
$factory = static fn (array $options): MockConnection => new class ($options) extends MockConnection {
193193
protected ?int $synchronous = null;
194194
protected ?int $busyTimeout = null;
195195

@@ -204,7 +204,7 @@ public function getBusyTimeout(): ?int
204204
}
205205
};
206206

207-
$first = $factory([...$this->options, 'synchronous' => '1']);
207+
$first = $factory([...$this->options, 'synchronous' => '1']);
208208
$second = $factory([...$this->options, 'busyTimeout' => '4000']);
209209

210210
$this->assertSame(1, $first->getSynchronous());

0 commit comments

Comments
 (0)