diff --git a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php index c80f10f..ac6e46b 100644 --- a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php +++ b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php @@ -120,6 +120,7 @@ public function testEditorUploadImageScale() { * The URI of the image. * * @return array + * An array containing the uploaded image's width and height. */ protected function getTestImageInfo($uri) { $image_file = $this->container->get('image.factory')->get($uri); @@ -133,9 +134,9 @@ protected function getTestImageInfo($uri) { * Sets the maximum dimensions and saves the configuration. * * @param string|int $width - * The URI of the image. + * The width of the image. * @param string|int $height - * The URI of the image. + * The height of the image. */ protected function setMaxDimensions($width, $height) { $editor = Editor::load('basic_html'); @@ -153,6 +154,7 @@ protected function setMaxDimensions($width, $height) { * The URI of the image. * * @return array + * An array containing the uploaded image's width and height. */ protected function uploadImage($uri) { $edit = [