File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
{# Method signature #}
18
18
```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 %}
20
20
{{- argument .types | default ([' mixed' ])| sort_asc| join (' |' )~' ' }}
21
21
{{- argument .byReference ? ' &' }}
22
22
{{- argument .name }}{% if argument .default is not same as (null ) %} = {{ argument .default | raw }}{% endif %}
Original file line number Diff line number Diff line change 4
4
5
5
{# Function signature #}
6
6
```php
7
- {{ function .name }}( {% for argument in function .arguments %}
7
+ function {{ function .name }}( {% for argument in function .arguments %}
8
8
{{- argument .types | default ([' mixed' ])| sort_asc| join (' |' )~' ' }}
9
9
{{- argument .byReference ? ' &' }}
10
10
{{- 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