Skip to content

Commit 72a08e5

Browse files
committed
Remove unnecessary mixed from declaration
1 parent a55d386 commit 72a08e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface Promise
5656
*
5757
* If the promise is already resolved, the callback MUST be executed immediately.
5858
*
59-
* @param callable(\Throwable|\Exception|null $exception, mixed $value) @onResolved `$reason` shall be `null` on
59+
* @param callable(\Throwable|\Exception|null $exception, $value) @onResolved `$reason` shall be `null` on
6060
* success, `$value` shall be `null` on failure.
6161
*
6262
* @return mixed Return type and value are unspecified.

src/Promise.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ interface Promise
1212
*
1313
* If the promise is already resolved, the callback MUST be executed immediately.
1414
*
15-
* @param callable(\Throwable|\Exception|null $exception, mixed $value) @onResolved `$reason` shall be `null` on
15+
* @param callable(\Throwable|\Exception|null $exception, $value) @onResolved `$reason` shall be `null` on
1616
* success, `$value` shall be `null` on failure.
1717
*
1818
* @return mixed Return type and value are unspecified.
1919
*/
2020
public function when(callable $onResolved);
21-
}
21+
}

0 commit comments

Comments
 (0)