Skip to content

Commit ae38056

Browse files
authored
Update README.md
1 parent e6f0ed8 commit ae38056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The package allows responding with data that is automatically converted into PSR
1919

2020
## General usage
2121

22-
The package provides `DataResponseFactory` class that, given a PSR-17 response factory, is able to create data response. In this example we use `nyholm/psr7` pacakge but any PSR-17 response factory would do.
22+
The package provides `DataResponseFactory` class that, given a PSR-17 response factory, is able to create data response. In this example we use `nyholm/psr7` package but any PSR-17 response factory would do.
2323

2424
Data response contains raw data to be processed later.
2525

@@ -36,7 +36,7 @@ echo $dataResponse->getBody()->getContents(); //test
3636

3737
### Formatters
3838

39-
Formatter purpose if to format data response. In the following example we format data as JSON.
39+
Formatters purpose is to format a data response. In the following example we format data as JSON.
4040

4141
```php
4242
use Nyholm\Psr7\Factory\Psr17Factory;

0 commit comments

Comments
 (0)