summaryrefslogtreecommitdiff
path: root/vendor/guzzlehttp/promises/src/FulfilledPromise.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/guzzlehttp/promises/src/FulfilledPromise.php')
-rw-r--r--vendor/guzzlehttp/promises/src/FulfilledPromise.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/guzzlehttp/promises/src/FulfilledPromise.php b/vendor/guzzlehttp/promises/src/FulfilledPromise.php
index ab7129659..727ec315c 100644
--- a/vendor/guzzlehttp/promises/src/FulfilledPromise.php
+++ b/vendor/guzzlehttp/promises/src/FulfilledPromise.php
@@ -31,8 +31,8 @@ class FulfilledPromise implements PromiseInterface
}
public function then(
- callable $onFulfilled = null,
- callable $onRejected = null
+ ?callable $onFulfilled = null,
+ ?callable $onRejected = null
): PromiseInterface {
// Return itself if there is no onFulfilled function.
if (!$onFulfilled) {