Skip to content

Commit 5c5b90d

Browse files
committed
doc: tweak readme grammar
1 parent c9a5e24 commit 5c5b90d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ See the [official wiki page](https://wiki.multitheftauto.com/wiki/PHP_SDK) for f
99

1010
### Prerequisites
1111

12-
This SDK require PHP 7.1 or greater
12+
This SDK requires PHP 7.1 or greater.
1313

1414
### Setup
1515

@@ -21,10 +21,12 @@ composer require multitheftauto/mtasa-php-sdk
2121

2222
### HTTPlug client abstraction
2323

24-
As this SDK use HTTPlug, you will have to require some libraries for get it working. See at [HTTPlug for library users](http://docs.php-http.org/en/latest/httplug/users.html).
24+
As this SDK uses HTTPlug, you will have to require some libraries for get it working. See ["HTTPlug for library users"](http://docs.php-http.org/en/latest/httplug/users.html) for more info.
25+
2526
## A simple example
2627

27-
You have multiple combinations for calling a mta server exported functions. Three ways are shown in example:
28+
There are three ways to call an MTA server's exported functions, as shown in the following example:
29+
2830
```php
2931
<?php
3032

@@ -39,9 +41,9 @@ $auth = new Authentication('myUser', 'myPassword');
3941
$mta = new Mta($server, $auth);
4042

4143
$response = $mta->getResource('someResource')->call('callableFunction', $arg1, $arg2, $arg3, ...);
42-
//or
44+
// or
4345
$response = $mta->getResource('someResource')->callableFunction($arg1, $arg2, $arg3, ...);
44-
//or also
46+
// or also
4547
$response = $mta->someResource->callableFunction($arg1, $arg2, $arg3, ...);
4648

4749
var_dump($response);

0 commit comments

Comments
 (0)