@@ -300,7 +300,8 @@ public function testUpdateOrCreateMethodUpdatesRecordCreatedJustNow(): void
300300 ], $ result ->toArray ());
301301 }
302302
303- public function testIncrementOrCreateMethodIncrementsExistingRecord (): void {
303+ public function testIncrementOrCreateMethodIncrementsExistingRecord (): void
304+ {
304305 $ model = new EloquentBuilderCreateOrFirstTestModel ();
305306 $ this ->mockConnectionForModel ($ model , 'SQLite ' );
306307 $ model ->getConnection ()->shouldReceive ('transactionLevel ' )->andReturn (0 );
@@ -341,7 +342,8 @@ public function testIncrementOrCreateMethodIncrementsExistingRecord(): void {
341342 ], $ result ->toArray ());
342343 }
343344
344- public function testIncrementOrCreateMethodCreatesNewRecord (): void {
345+ public function testIncrementOrCreateMethodCreatesNewRecord (): void
346+ {
345347 $ model = new EloquentBuilderCreateOrFirstTestModel ();
346348 $ this ->mockConnectionForModel ($ model , 'SQLite ' , [123 ]);
347349 $ model ->getConnection ()->shouldReceive ('transactionLevel ' )->andReturn (0 );
@@ -412,7 +414,8 @@ public function testIncrementOrCreateMethodIncrementParametersArePassed(): void
412414 ], $ result ->toArray ());
413415 }
414416
415- public function testIncrementOrCreateMethodRetrievesRecordCreatedJustNow (): void {
417+ public function testIncrementOrCreateMethodRetrievesRecordCreatedJustNow (): void
418+ {
416419 $ model = new EloquentBuilderCreateOrFirstTestModel ();
417420 $ this ->mockConnectionForModel ($ model , 'SQLite ' );
418421 $ model ->getConnection ()->shouldReceive ('transactionLevel ' )->andReturn (0 );
@@ -437,7 +440,7 @@ public function testIncrementOrCreateMethodRetrievesRecordCreatedJustNow(): void
437440 ->andReturn ([[
438441 'id ' => 123 ,
439442 'attr ' => 'foo ' ,
440- 'count ' => 1 ,
443+ 'count ' => 1 ,
441444 'created_at ' => '2023-01-01 00:00:00 ' ,
442445 'updated_at ' => '2023-01-01 00:00:00 ' ,
443446 ]]);
0 commit comments