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 @@ -236,7 +236,7 @@ public function testCreatesTableOutsideTransaction()
236
236
public function testConfigureSchemaDifferentDatabase ()
237
237
{
238
238
$ conn = $ this ->createMock (Connection::class);
239
- $ someFunction = function () { return false ; } ;
239
+ $ someFunction = fn () => false ;
240
240
$ schema = new Schema ();
241
241
242
242
$ dbalStore = new DoctrineDbalStore ($ conn );
@@ -247,7 +247,7 @@ public function testConfigureSchemaDifferentDatabase()
247
247
public function testConfigureSchemaSameDatabase ()
248
248
{
249
249
$ conn = $ this ->createMock (Connection::class);
250
- $ someFunction = function () { return true ; } ;
250
+ $ someFunction = fn () => true ;
251
251
$ schema = new Schema ();
252
252
253
253
$ dbalStore = new DoctrineDbalStore ($ conn );
@@ -262,7 +262,7 @@ public function testConfigureSchemaTableExists()
262
262
$ schema ->createTable ('lock_keys ' );
263
263
264
264
$ dbalStore = new DoctrineDbalStore ($ conn );
265
- $ someFunction = function () { return true ; } ;
265
+ $ someFunction = fn () => true ;
266
266
$ dbalStore ->configureSchema ($ schema , $ someFunction );
267
267
$ table = $ schema ->getTable ('lock_keys ' );
268
268
$ this ->assertEmpty ($ table ->getColumns (), 'The table was not overwritten ' );
You can’t perform that action at this time.
0 commit comments