Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ee0a33a

Browse files
committed
Merge branch 'hotfix/479'
Close #479
2 parents 2fae124 + f68ec4b commit ee0a33a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse
1818

1919
### Fixed
2020

21-
- Nothing.
21+
- [#479](https://github.com/zendframework/zend-expressive/pull/479) fixes the
22+
`WhoopsErrorResponseGenerator::$whoops` dockblock Type to support Whoops 1
23+
and 2.
2224

2325
## 2.0.3 - 2017-03-28
2426

@@ -186,7 +188,7 @@ All notable changes to this project will be documented in this file, in reverse
186188
`Zend\Expressive\Delegate\NotFoundDelegate`.
187189

188190
- [#428](https://github.com/zendframework/zend-expressive/pull/428) adds the
189-
constants `DISPATCH_MIDDLEWARE` and `ROUTING_MIDDLEWARE` to
191+
constants `DISPATCH_MIDDLEWARE` and `ROUTING_MIDDLEWARE` to
190192
`Zend\Expressive\Application`; they have identical values to the constants
191193
previously defined in `Zend\Expressive\Container\ApplicationFactory`.
192194

src/Middleware/WhoopsErrorResponseGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class WhoopsErrorResponseGenerator
2020
{
2121
/**
22-
* @var Run
22+
* @var Run|RunInterface
2323
*/
2424
private $whoops;
2525

0 commit comments

Comments
 (0)