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 1616
1717{# Method signature #}
1818```php
19- {{ method .visibility }}{% if method .static %} static{% endif %} {{ method .name }}( {% for argument in method .arguments %}
19+ {{ method .visibility }}{% if method .static %} static{% endif %} function {{ method .name }}( {% for argument in method .arguments %}
2020{{- argument .types | default ([' mixed' ])| sort_asc| join (' |' )~' ' }}
2121{{- argument .byReference ? ' &' }}
2222{{- argument .name }}{% if argument .default is not same as (null ) %} = {{ argument .default | raw }}{% endif %}
Original file line number Diff line number Diff line change 44
55{# Function signature #}
66```php
7- {{ function .name }}( {% for argument in function .arguments %}
7+ function {{ function .name }}( {% for argument in function .arguments %}
88{{- argument .types | default ([' mixed' ])| sort_asc| join (' |' )~' ' }}
99{{- argument .byReference ? ' &' }}
1010{{- argument .name }}{% if argument .default is not same as (null ) %} = {{ argument .default | raw }}{% endif %}
You can’t perform that action at this time.
0 commit comments