Skip to content

Commit

Permalink
Merge pull request #11 from php-middleware/php72-support
Browse files Browse the repository at this point in the history
PHP 7.2 support
  • Loading branch information
snapshotpl authored May 2, 2019
2 parents ec5caf6 + 1029af7 commit 3936e46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2

env:
- DEPS=lowest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"http-interop/http-middleware": "^0.4.1"
},
"require-dev": {
"phpunit/phpunit": "^5.6 || ^6.1.3",
"phpunit/phpunit": "^5.7.27 || ^6.1.3",
"ramsey/uuid": "^3.0",
"zendframework/zend-diactoros": "^1.1.3"
},
Expand Down
3 changes: 2 additions & 1 deletion src/RequestIdMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PhpMiddleware\DoublePassCompatibilityTrait;
use PhpMiddleware\RequestId\Exception\NotGenerated;
use PhpMiddleware\RequestId\RequestIdProviderFactoryInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;

Expand Down Expand Up @@ -60,7 +61,7 @@ public function process(ServerRequestInterface $request, DelegateInterface $dele
}

/**
* @return ResponseInterface
* @return RequestInterface
*/
private function attachRequestIdToAttribute(ServerRequestInterface $request)
{
Expand Down

0 comments on commit 3936e46

Please # to comment.