Skip to content

Commit ef91753

Browse files
Tweak
1 parent 2adbd14 commit ef91753

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

data/templates/vuepress/_member/constant.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{{ constant.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
1616

1717
{# Constant value #}
18-
```php
18+
```php:no-line-numbers
1919
{# TODO wait compatibiliti with PHP 7.1 constant visibility {{ constant.visibility }}#}
2020
{{ constant.name }} = {{ constant.value|raw }};
2121
```

data/templates/vuepress/_member/method.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{{ method.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
1616

1717
{# Method signature #}
18-
```php
18+
```php:no-line-numbers
1919
{{ 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 ? '&' }}

data/templates/vuepress/_member/property.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
{# property signature #}
19-
```php
19+
```php:no-line-numbers
2020
{{ property.visibility }}{% if property.static %} static{% endif %} ${{ property.name }}
2121
{%- if property.default is not same as(null) %} = {{ property.default|raw }}{% endif %};
2222
```

data/templates/vuepress/_struct/constant.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{{ constant.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
66

7-
```php
7+
```php:no-line-numbers
88
{{ constant.name }} = {{ constant.value|raw }};
99
```
1010

data/templates/vuepress/_struct/function.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{ function.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
66

77
{# Function signature #}
8-
```php
8+
```php:no-line-numbers
99
function {{ function.name }}( {% for argument in function.arguments %}
1010
{{- argument.types|default(['mixed'])|sort_asc|join('|')~' ' }}
1111
{{- argument.byReference ? '&' }}

0 commit comments

Comments
 (0)