Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix $indexPage param explanations in helpers/html_helper.rst #9162

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

obozdag
Copy link
Contributor

@obozdag obozdag commented Sep 2, 2024

Description
Fix $indexPage parameter explanations in helpers/html_helper.rst

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Fix $indexPage parameter explanations in helpers/html_helper.rst
@kenjis kenjis added the documentation Pull requests for documentation only label Sep 5, 2024
@@ -28,9 +28,9 @@ The following functions are available:
.. php:function:: img([$src = ''[, $indexPage = false[, $attributes = '']]])

:param string|array $src: Image source URI, or array of attributes and values
:param bool $indexPage: Whether to treat ``$src`` as a routed URI string
:param bool $indexPage: Should indexPage be added to the source path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this easier for beginners to understand?

Suggested change
:param bool $indexPage: Should indexPage be added to the source path
:param bool $indexPage: Should ``Config\App::$indexPage`` be added to the source path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests for documentation only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants