File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments