Skip to content

Commit

Permalink
[BUGFIX] Correct attribute name in ConstantViewHelper example (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Jun 27, 2024
1 parent 4bbaeec commit b6f763f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ViewHelpers/ConstantViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* ::
*
* {f:constant(value: 'PHP_INT_MAX')}
* {f:constant(name: 'PHP_INT_MAX')}
*
* Output::
*
Expand All @@ -35,14 +35,14 @@
*
* ::
*
* {f:constant(value: '\Vendor\Package\Class::CONSTANT')}
* {f:constant(name: '\Vendor\Package\Class::CONSTANT')}
*
* Get enum value
* --------------
*
* ::
*
* {f:constant(value: '\Vendor\Package\Enum::CASE')}
* {f:constant(name: '\Vendor\Package\Enum::CASE')}
*/
class ConstantViewHelper extends AbstractViewHelper
{
Expand Down

0 comments on commit b6f763f

Please sign in to comment.