File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
system/Debug/Toolbar/Collectors Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 202202 // keep '\\' prefix string on string '\Foo\Bar'
203203 StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true ,
204204 ])
205- ->withCodeQualityLevel (54 );
205+ ->withCodeQualityLevel (58 );
Original file line number Diff line number Diff line change @@ -147,8 +147,7 @@ protected function formatTimelineData(): array
147147 */
148148 public function display (): array
149149 {
150- $ data = [];
151- $ data ['queries ' ] = array_map (static function (array $ query ): array {
150+ return ['queries ' => array_map (static function (array $ query ): array {
152151 $ isDuplicate = $ query ['duplicate ' ] === true ;
153152
154153 $ firstNonSystemLine = '' ;
@@ -195,9 +194,7 @@ public function display(): array
195194 'trace-file ' => $ firstNonSystemLine ,
196195 'qid ' => md5 ($ query ['query ' ] . Time::now ()->format ('0.u00 U ' )),
197196 ];
198- }, static ::$ queries );
199-
200- return $ data ;
197+ }, static ::$ queries )];
201198 }
202199
203200 /**
You can’t perform that action at this time.
0 commit comments