Skip to content

Commit e29404d

Browse files
authored
1 parent 637816f commit e29404d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Generate a string of HTML attributes from the associative array provided.
1717
If `attr` is an object, then only public properties will be incorporated into the result.
1818
If a value is an array, its values will be concatenated and delimited with a space.
1919
Values that cannot be converted into strings will be ignored. If the value is Stringable, Arrayble, or a `Closure`, attempts will be made to parse as a string.
20-
- `$callback` — Callback function for escaping the values for the HTML attributes.
20+
- `callback` — Callback function for escaping the values for the HTML attributes.
2121
If no sanitizer is provided, [`htmlspecialchars()`](http://php.net/htmlspecialchars) is used;
2222
If using WordPress, the [`esc_attr()`](https://developer.wordpress.org/reference/functions/esc_attr/) function is used.
2323

0 commit comments

Comments
 (0)