Skip to content

Commit 7d36a1b

Browse files
authored
Merge pull request #804 from joaop221/patch-1
fix: typo at webservices advanced docs
2 parents 053aedd + 6e409e2 commit 7d36a1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/apis/subsystems/external/advanced/custom-services.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you define a web service here, then the administrator cannot add or remove an
2727

2828
## Declaring a custom service declaration
2929

30-
Service declarations should be placed in the `db/services.php` file of your plugin, for example `local/groupmanager/db/services.php`.
30+
Service declarations should be placed in the `db/services.php` file of your plugin (after function declaration), for example `local/groupmanager/db/services.php`.
3131

3232
```php title="local/groupmanager/db/services.php"
3333
$services = [
@@ -60,8 +60,8 @@ $services = [
6060

6161
// Whether to allow file uploads.
6262
'uploadfiles' => 0,
63-
)
64-
);
63+
]
64+
];
6565
```
6666

6767
:::note

0 commit comments

Comments
 (0)