File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public function testCreatesTableOutsideTransaction()
240
240
public function testConfigureSchemaDifferentDatabase ()
241
241
{
242
242
$ conn = $ this ->createMock (Connection::class);
243
- $ someFunction = function () { return false ; } ;
243
+ $ someFunction = fn () => false ;
244
244
$ schema = new Schema ();
245
245
246
246
$ dbalStore = new DoctrineDbalStore ($ conn );
@@ -251,7 +251,7 @@ public function testConfigureSchemaDifferentDatabase()
251
251
public function testConfigureSchemaSameDatabase ()
252
252
{
253
253
$ conn = $ this ->createMock (Connection::class);
254
- $ someFunction = function () { return true ; } ;
254
+ $ someFunction = fn () => true ;
255
255
$ schema = new Schema ();
256
256
257
257
$ dbalStore = new DoctrineDbalStore ($ conn );
@@ -266,7 +266,7 @@ public function testConfigureSchemaTableExists()
266
266
$ schema ->createTable ('lock_keys ' );
267
267
268
268
$ dbalStore = new DoctrineDbalStore ($ conn );
269
- $ someFunction = function () { return true ; } ;
269
+ $ someFunction = fn () => true ;
270
270
$ dbalStore ->configureSchema ($ schema , $ someFunction );
271
271
$ table = $ schema ->getTable ('lock_keys ' );
272
272
$ this ->assertEmpty ($ table ->getColumns (), 'The table was not overwritten ' );
You can’t perform that action at this time.
0 commit comments