Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -167,7 +167,7 @@ class DrupalHelper {
if ($show_result) {
$duration = Timer::read($name);
$memory = memory_get_usage() - self::$timers[$name];
\Drupal::messenger()->addMessage($duration . ' ms (' . number_format($duration / 1000, 5) . ' sec) / ' . format_size($memory));
\Drupal::messenger()->addMessage($duration . ' ms (' . number_format($duration / 1000, 5) . ' sec) / ' . \Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.2.0', fn() => \Drupal\Core\StringTranslation\ByteSizeMarkup::create($memory), fn() => format_size($memory)));
}
Timer::stop($name);
Loading