Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -66,7 +66,7 @@ class ImageType extends GraphQLComposeSchemaTypeBase {
$fields['svg'] = [
'type' => Type::string(),
'description' => (string) $this->t('Contents of the image, if the mime is `image/svg+xml` and size <= `@size`.', [
'@size' => format_size($svg_max * 1024),
'@size' => \Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.2.0', fn() => \\Drupal\Core\StringTranslation\ByteSizeMarkup::create($svg_max * 1024), fn() => format_size($svg_max * 1024)),
]),
];
}
Loading