From a44cc1d2e3c0f147e91a5c052ac7fd879e34e706 Mon Sep 17 00:00:00 2001 From: Eole Date: Thu, 21 Jan 2016 10:29:26 +0100 Subject: Init Server Composer Components --- .../vendor/guzzlehttp/promises/tests/Thennable.php | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 server/vendor/guzzlehttp/promises/tests/Thennable.php (limited to 'server/vendor/guzzlehttp/promises/tests/Thennable.php') diff --git a/server/vendor/guzzlehttp/promises/tests/Thennable.php b/server/vendor/guzzlehttp/promises/tests/Thennable.php new file mode 100644 index 0000000..398954d --- /dev/null +++ b/server/vendor/guzzlehttp/promises/tests/Thennable.php @@ -0,0 +1,24 @@ +nextPromise = new Promise(); + } + + public function then(callable $res = null, callable $rej = null) + { + return $this->nextPromise->then($res, $rej); + } + + public function resolve($value) + { + $this->nextPromise->resolve($value); + } +} -- cgit v1.2.3