Skip to content

Commit

Permalink
README: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Jun 11, 2023
1 parent 5261b6d commit 58b0d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,11 +17,11 @@

**Simplest. Clean. Efficient.** Just what your project needs 馃Ч

Don't hardcode HTTP status codes. Magic numbers (hard-coded numbers) make your code hard to be read and understood.
Don't hardcode HTTP status codes. Magic numbers (hard-coded numbers) make your code hard to read and understood.

When you have all status codes are stored in readable constants, it makes the development of your application so easy and enjoyable.

It prevents you of using the wrong HTTP status code and saves time and energy when developing an API that involves various HTTP status codes to be sent.
It prevents you from using the wrong HTTP status code and saves time and energy when developing an API that involves various HTTP status codes to be sent.

![PHP HTTP Status Codes constants](php-http-status-codes.png)

Expand Down

0 comments on commit 58b0d17

Please sign in to comment.