Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Commit ddd36f8

Browse files
committed
Merge pull request #1 from javiereguiluz/patch-1
Fixed some minor errors in the asc/desc example
2 parents 3a6e9ad + f831dd0 commit ddd36f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ use Mmoreram\MyClass;
198198
use Symfony\OneClass;
199199
```
200200

201-
You can also define the direction of the sorting. This can be ascendent
201+
You can also define the direction of the sorting. This can be ascending
202202
***(default value)***
203203

204204
``` bash
205-
$ php-formatter use:sort src/ --sort-direction="length"
205+
$ php-formatter use:sort src/ --sort-direction="asc"
206206
```
207207

208208
This command will sort the code like this
@@ -216,10 +216,10 @@ use Symfony\AnotherClass;
216216
use Symfony\OneClass;
217217
```
218218

219-
or descendent
219+
or descending
220220

221221
``` bash
222-
$ php-formatter use:sort src/ --sort-direction="length"
222+
$ php-formatter use:sort src/ --sort-direction="desc"
223223
```
224224

225225
This command will sort the code like this

0 commit comments

Comments
 (0)