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 14
14
* @return string Returns a string of HTML attributes
15
15
* or a empty string if $attributes is invalid or empty.
16
16
*/
17
- function html_build_attributes ($ attributes , callable $ escape = null )
17
+ function html_build_attributes ($ attributes , ? callable $ escape = null )
18
18
{
19
19
if (is_object ($ attributes ) && !($ attributes instanceof \Traversable)) {
20
20
$ 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.
23
23
## API
24
24
25
25
``` php
26
- html_build_attributes( array|object $attr [, callable $callback = null ] ) : string
26
+ html_build_attributes( array|object $attr [, ? callable $callback = null ] ) : string
27
27
```
28
28
29
29
### Parameters
You can’t perform that action at this time.
0 commit comments