From b7d22d593359d77aaa4b902c02c29ca70c3a4ea0 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 4 Sep 2019 16:24:12 +0100 Subject: [PATCH] Issue #3076644 by Luke_Nuke, gueguerreiro: Mistake in the comment documenting the "image" method of the "Random" utility class --- core/lib/Drupal/Component/Utility/Random.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Component/Utility/Random.php b/core/lib/Drupal/Component/Utility/Random.php index 1f0e9a2fab6..57287f9d5fe 100644 --- a/core/lib/Drupal/Component/Utility/Random.php +++ b/core/lib/Drupal/Component/Utility/Random.php @@ -264,8 +264,10 @@ class Random { * * @param string $destination * The absolute file path where the image should be stored. - * @param int $min_resolution - * @param int $max_resolution + * @param string $min_resolution + * The minimum resolution for the image. For example, '400x300'. + * @param string $max_resolution + * The maximum resolution for the image. For example, '800x600'. * * @return string * Path to image file.