Skip to content

Commit

Permalink
docs: Fix source function definition in helpers/html_helper.rst
Browse files Browse the repository at this point in the history
Co-authored-by: kenjis <[email protected]>
  • Loading branch information
obozdag and kenjis authored Sep 6, 2024
1 parent 1e868d0 commit 8e09849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/helpers/html_helper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ The following functions are available:

Identical to :php:func:`video()`, only it produces ``<audio>`` element instead of ``<video>``.

.. php:function:: source($src[, $type = false[, $attributes = '']])
.. php:function:: source($src, $type = 'unknown', $attributes = '', $indexPage = false)
:param string $src: The path of the media resource
:param bool $type: The MIME-type of the resource with optional codecs parameters
Expand Down

0 comments on commit 8e09849

Please sign in to comment.