File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 55use Rector \CodeQuality \Rector \Array_ \CallableThisArrayToAnonymousFunctionRector ;
66use Rector \CodingStyle \Rector \ArrowFunction \StaticArrowFunctionRector ;
77use Rector \CodingStyle \Rector \ClassMethod \UnSpreadOperatorRector ;
8+ use Rector \CodingStyle \Rector \Closure \StaticClosureRector ;
89use Rector \CodingStyle \Rector \Property \InlineSimplePropertyAnnotationRector ;
910use Rector \Config \RectorConfig ;
1011use Rector \Privatization \Rector \Class_ \FinalizeClassesWithoutChildrenRector ;
3738 StaticArrowFunctionRector::class => [
3839 __DIR__ . '/spec ' ,
3940 ],
41+ StaticClosureRector::class => [
42+ __DIR__ . '/spec ' ,
43+ ],
4044 ]);
4145};
Original file line number Diff line number Diff line change 4646
4747 });
4848
49- given ('logger ' , function () {
49+ given ('logger ' , function (): Logger {
5050
5151 $ dbAdapter = new Adapter ([
5252 'username ' => 'root ' ,
You can’t perform that action at this time.
0 commit comments