[BUGFIX] Use correct ViewHelper argument description 20/60620/3
authorJan Delius <me@jandelius.eu>
Mon, 29 Apr 2019 15:16:22 +0000 (17:16 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 29 Apr 2019 19:42:27 +0000 (21:42 +0200)
Resolves: #88246
Releases: master, 9.5, 8.7
Change-Id: Iad8558cbe22caaefd659fef1681452a962b5cdf7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60620
Tested-by: Rico Drexler <rico.drexler@gmx.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Josef Glatz <josefglatz@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Rico Drexler <rico.drexler@gmx.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>

index 0fc6eaf..0a59a20 100644 (file)
@@ -109,9 +109,9 @@ class ImageViewHelper extends AbstractTagBasedViewHelper
         $this->registerArgument('width', 'string', 'width of the image. This can be a numeric value representing the fixed width of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.');
         $this->registerArgument('height', 'string', 'height of the image. This can be a numeric value representing the fixed height of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.');
         $this->registerArgument('minWidth', 'int', 'minimum width of the image');
-        $this->registerArgument('minHeight', 'int', 'minimum width of the image');
-        $this->registerArgument('maxWidth', 'int', 'minimum width of the image');
-        $this->registerArgument('maxHeight', 'int', 'minimum width of the image');
+        $this->registerArgument('minHeight', 'int', 'minimum height of the image');
+        $this->registerArgument('maxWidth', 'int', 'maximum width of the image');
+        $this->registerArgument('maxHeight', 'int', 'maximum height of the image');
         $this->registerArgument('absolute', 'bool', 'Force absolute URL', false, false);