Skip to content

Commit

Permalink
Fix typos (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrimaud authored May 11, 2020
1 parent 0d7a6ad commit b20274b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Datacollector is available when the symfony profiler is enabled. The collector a
- Cache ttl

**NOTE :** If you choose guzzle for `redirect_handler`, The redirect count and redirect time will always set to zero.
Cache informations are available when a cache system is set.
Cache information are available when a cache system is set.

## Cache system

Expand Down Expand Up @@ -169,7 +169,7 @@ m6_redis:

For more information on how to setup the RedisBundle, refer to the README in the project.

We provide also the same cache system for APCU throught the [ApcuBundle](https://github.com/M6Web/ApcuBundle).
We provide also the same cache system for APCU through the [ApcuBundle](https://github.com/M6Web/ApcuBundle).

## Configuration reference

Expand Down
4 changes: 2 additions & 2 deletions src/DataCollector/GuzzleHttpDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function getCommands()
}

/**
* Return true error 400 occured
* Return true error 400 occurred
*
* @return bool
*/
Expand All @@ -108,7 +108,7 @@ public function has4x()
}

/**
* Return true error 500 occured
* Return true error 500 occurred
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/CacheTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function __invoke(RequestInterface $request, array $options)
}

/**
* Check if request method is cachable
* Check if request method is cacheable
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Units/Middleware/EventDispatcherMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function testPush()
return $promiseMock;
};

// 1st event : sucesss
// 1st event : success
$this
->if($eventMid = new Base($dispatcherMock, 'id'))
->then
Expand Down

0 comments on commit b20274b

Please sign in to comment.