|
@@ -7,11 +7,11 @@ discard block |
|
|
block discarded – undo |
|
7
|
7
|
|
|
8
|
8
|
## Description |
|
9
|
9
|
`<?= $this->v('method.return.type') ?> <?= $this->v('method.name') ?> |
|
10
|
|
-(<?php foreach($this->a('method.parameters') as $x => $parameter): ?> |
|
|
10
|
+(<?php foreach ($this->a('method.parameters') as $x => $parameter): ?> |
|
11
|
11
|
<?= $parameter['type'] ?> $<?= $parameter['name'] ?> |
|
12
|
12
|
<?php if ($parameter['default'] != ''): ?> = <?php if ($parameter['type'] == 'string'): ?>'<?php endif; ?> |
|
13
|
13
|
<?= $parameter['default'] ?><?php if ($parameter['type'] == 'string'): ?>'<?php endif; ?><?php endif; ?> |
|
14
|
|
-<?php if ($x+1 < count($this->a('method.parameters'))): ?>, <?php endif; ?> |
|
|
14
|
+<?php if ($x + 1 < count($this->a('method.parameters'))): ?>, <?php endif; ?> |
|
15
|
15
|
<?php endforeach; ?>)` |
|
16
|
16
|
<?php if ($this->v('method.description') != ''): ?> |
|
17
|
17
|
|
|
@@ -21,7 +21,7 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
|
|
22
|
22
|
<?php if (count($this->a('method.parameters')) > 0): ?> |
|
23
|
23
|
### Parameters |
|
24
|
|
-<?php foreach($this->a('method.parameters') as $parameter): ?> |
|
|
24
|
+<?php foreach ($this->a('method.parameters') as $parameter): ?> |
|
25
|
25
|
* _<?= $parameter['type'] ?>_ __$<?= $parameter['name'] ?>__<?= ' ' ?> |
|
26
|
26
|
|
|
27
|
27
|
<?= $parameter['description'] ?> |
|
@@ -37,7 +37,7 @@ discard block |
|
|
block discarded – undo |
|
37
|
37
|
|
|
38
|
38
|
<?php if (count($this->a('method.exceptions')) > 0): ?> |
|
39
|
39
|
### Errors/Exceptions |
|
40
|
|
-<?php foreach($this->a('method.exceptions') as $exception): ?> |
|
|
40
|
+<?php foreach ($this->a('method.exceptions') as $exception): ?> |
|
41
|
41
|
* _<?= $exception['type'] ?>_<?= ' ' ?> |
|
42
|
42
|
|
|
43
|
43
|
<?= $exception['description'] ?> |