diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst
index dff339135b29..47a8b791048e 100644
--- a/user_guide_src/source/helpers/html_helper.rst
+++ b/user_guide_src/source/helpers/html_helper.rst
@@ -52,7 +52,7 @@ The following functions are available:
.. literalinclude:: html_helper/004.php
-.. php:function:: img_data([$src = ''[, $indexPage = false[, $attributes = '']]])
+.. php:function:: img_data($path[, $mime = null])
:param string $path: Path to the image file
:param string|null $mime: MIME type to use, or null to guess
@@ -260,7 +260,7 @@ The following functions are available:
Identical to :php:func:`video()`, only it produces ``