Skip to content

Commit

Permalink
Merge pull request #218 from raveren/patch-1
Browse files Browse the repository at this point in the history
Fix return value in docs in element-methods.md
  • Loading branch information
freekmurze authored Mar 23, 2024
2 parents e3fe87f + 008731b commit 586dea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/general-usage/element-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Get the value of an element's attribute:
```php
echo Div::attribute('data-custom', 'Attribute value')
->getAttribute('data-custom');
// "data-custom"
// "Attribute value"
```
You may also specify a fallback value:

Expand Down

0 comments on commit 586dea9

Please sign in to comment.