Commaaa2
This commit is contained in:
4
vendor/guzzlehttp/promises/src/Coroutine.php
vendored
4
vendor/guzzlehttp/promises/src/Coroutine.php
vendored
@@ -84,8 +84,8 @@ final class Coroutine implements PromiseInterface
|
||||
}
|
||||
|
||||
public function then(
|
||||
callable $onFulfilled = null,
|
||||
callable $onRejected = null
|
||||
?callable $onFulfilled = null,
|
||||
?callable $onRejected = null
|
||||
): PromiseInterface {
|
||||
return $this->result->then($onFulfilled, $onRejected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user