File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,24 @@ use {{class.classFqcn}};
21
21
> {{method .title }}
22
22
{% endif %}
23
23
24
+ <details ><summary >Details …</summary >
25
+ <div >
26
+
24
27
```php
25
- {{method .isStatic ? ' ::' : ' ' }}{{name }}({{method .params | join (' , ' )}}){{method .return ? ' : ' ~ method .return : ' ' }}
28
+ {% set params = call(' array_column' , method .params , 0 ) %}
29
+ {{method .isStatic ? ' ::' : ' ' }}{{name }}({{params | join (' , ' )}}){{method .return ? ' : ' ~ method .return [0 ] : ' ' }}
26
30
```
27
31
{% if method .texts %}
28
32
29
- {{method .texts | join (" \n" )| replace ({' <code>' :" ```php" ,' </code>' :" ```" })| raw }}
33
+ {{method .texts | join (" \n\n" )| replace ({' <code>' :" ```php" , ' </code>' :" ```" })| raw | nl2br }}
34
+ {% endif %}
35
+ {% if method .throws %}
36
+
37
+ > _Throws_ **{{method .throws [0 ]}}** {{ method .throws [1 ] ? ' _' ~ method .throws [1 ] ~ ' _' : ' ' }}
30
38
{% endif %}
39
+
40
+ </div >
41
+ </details >
31
42
{% endfor %}
32
43
33
44
**[⬆ back to top](#the-top)**
You can’t perform that action at this time.
0 commit comments