Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 1.1.1 - 2017-02-26

### Changed

- HttpFullfilledPromise to allow mixed parameter in constructor


## 1.1.0 - 2016-08-31

Expand Down
6 changes: 3 additions & 3 deletions src/Promise/HttpFulfilledPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
final class HttpFulfilledPromise implements Promise
{
/**
* @var ResponseInterface
* @var mixed
*/
private $response;

/**
* @param ResponseInterface $response
* @param mixed $response
*/
public function __construct(ResponseInterface $response)
public function __construct($response)
{
$this->response = $response;
}
Expand Down