File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414 * @return string Returns a string of HTML attributes
1515 * or a empty string if $attributes is invalid or empty.
1616 */
17- function html_build_attributes ($ attributes , callable $ escape = null )
17+ function html_build_attributes ($ attributes , ? callable $ escape = null )
1818 {
1919 if (is_object ($ attributes ) && !($ attributes instanceof \Traversable)) {
2020 $ attributes = get_object_vars ($ attributes );
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ breaking changes may occur between major releases.
2323## API
2424
2525``` php
26- html_build_attributes( array|object $attr [, callable $callback = null ] ) : string
26+ html_build_attributes( array|object $attr [, ? callable $callback = null ] ) : string
2727```
2828
2929### Parameters
You can’t perform that action at this time.
0 commit comments