Skip to content

Commit 3936e46

Browse files
authored
Merge pull request #11 from php-middleware/php72-support
PHP 7.2 support
2 parents ec5caf6 + 1029af7 commit 3936e46

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 5.6
55
- 7.0
66
- 7.1
7+
- 7.2
78

89
env:
910
- DEPS=lowest

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"http-interop/http-middleware": "^0.4.1"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^5.6 || ^6.1.3",
19+
"phpunit/phpunit": "^5.7.27 || ^6.1.3",
2020
"ramsey/uuid": "^3.0",
2121
"zendframework/zend-diactoros": "^1.1.3"
2222
},

src/RequestIdMiddleware.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PhpMiddleware\DoublePassCompatibilityTrait;
88
use PhpMiddleware\RequestId\Exception\NotGenerated;
99
use PhpMiddleware\RequestId\RequestIdProviderFactoryInterface;
10+
use Psr\Http\Message\RequestInterface;
1011
use Psr\Http\Message\ResponseInterface;
1112
use Psr\Http\Message\ServerRequestInterface;
1213

@@ -60,7 +61,7 @@ public function process(ServerRequestInterface $request, DelegateInterface $dele
6061
}
6162

6263
/**
63-
* @return ResponseInterface
64+
* @return RequestInterface
6465
*/
6566
private function attachRequestIdToAttribute(ServerRequestInterface $request)
6667
{

0 commit comments

Comments
 (0)