This commit is contained in:
2025-03-21 20:24:43 +01:00
parent 224398df90
commit f34c9162d4
12427 changed files with 5329941 additions and 373384 deletions

View File

@@ -6,6 +6,10 @@ namespace Http\Promise;
* A rejected promise.
*
* @author Joel Wurtz <joel.wurtz@gmail.com>
*
* @template-covariant T
*
* @implements Promise<T>
*/
final class RejectedPromise implements Promise
{
@@ -14,9 +18,6 @@ final class RejectedPromise implements Promise
*/
private $exception;
/**
* @param \Exception $exception
*/
public function __construct(\Exception $exception)
{
$this->exception = $exception;