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()
240240 public function testConfigureSchemaDifferentDatabase ()
241241 {
242242 $ conn = $ this ->createMock (Connection::class);
243- $ someFunction = function () { return false ; } ;
243+ $ someFunction = fn () => false ;
244244 $ schema = new Schema ();
245245
246246 $ dbalStore = new DoctrineDbalStore ($ conn );
@@ -251,7 +251,7 @@ public function testConfigureSchemaDifferentDatabase()
251251 public function testConfigureSchemaSameDatabase ()
252252 {
253253 $ conn = $ this ->createMock (Connection::class);
254- $ someFunction = function () { return true ; } ;
254+ $ someFunction = fn () => true ;
255255 $ schema = new Schema ();
256256
257257 $ dbalStore = new DoctrineDbalStore ($ conn );
@@ -266,7 +266,7 @@ public function testConfigureSchemaTableExists()
266266 $ schema ->createTable ('lock_keys ' );
267267
268268 $ dbalStore = new DoctrineDbalStore ($ conn );
269- $ someFunction = function () { return true ; } ;
269+ $ someFunction = fn () => true ;
270270 $ dbalStore ->configureSchema ($ schema , $ someFunction );
271271 $ table = $ schema ->getTable ('lock_keys ' );
272272 $ this ->assertEmpty ($ table ->getColumns (), 'The table was not overwritten ' );
You can’t perform that action at this time.
0 commit comments