Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luizcmarin committed May 22, 2024
1 parent 5406bd7 commit 7a3ba55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://github.com/yiisoft" target="_blank">
<img src="https://yiisoft.github.io/docs/images/yii_logo.svg" height="100px">
<img src="https://yiisoft.github.io/docs/images/yii_logo.svg" height="100px" alt="Yii">
</a>
<h1 align="center">Yii Request Provider</h1>
<br>
Expand Down Expand Up @@ -31,9 +31,9 @@ composer require yiisoft/request-provider

## General usage

First, add `Yiisoft\RequestProvider\RequestCatcherMiddleware` to your application middleware stack.
First, add `Yiisoft\RequestProvider\RequestCatcherMiddleware` to your application middleware stack.

Then, when you need current request, get `RequestProviderInterface` as dependency and obtain the request from it:
Then, when you need current request, get `RequestProviderInterface` as dependency and obtain the request from it:

```php
use Yiisoft\RequestProvider\RequestProviderInterface;
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/request-provider/issues?state=open",
"source": "https://github.com/yiisoft/request-provider",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "ircs://irc.libera.chat:6697/yii",
"chat": "https://t.me/yii3en",
"source": "https://github.com/yiisoft/request-provider"
"chat": "https://t.me/yii3en"
},
"funding": [
{
Expand Down

0 comments on commit 7a3ba55

Please sign in to comment.