From b862c349a4bb58504dd667d8c65e0b914bc59abc Mon Sep 17 00:00:00 2001 From: Ariel Ferrandini Price Date: Sun, 26 Feb 2017 10:03:09 +0100 Subject: [PATCH] Change HttpFullFiledPromise constructor parameter to mixed --- CHANGELOG.md | 6 ++++++ src/Promise/HttpFulfilledPromise.php | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42824b4..81d47b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Promise/HttpFulfilledPromise.php b/src/Promise/HttpFulfilledPromise.php index 6779e44..78c9136 100644 --- a/src/Promise/HttpFulfilledPromise.php +++ b/src/Promise/HttpFulfilledPromise.php @@ -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; }