Skip to content

Commit 465dae0

Browse files
committed
Fix style-ci issues
1 parent 9e1e4d9 commit 465dae0

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/FulfilledPromise.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @author Joel Wurtz <joel.wurtz@gmail.com>
99
*
1010
* @template-covariant T
11+
*
1112
* @implements Promise<T>
1213
*/
1314
final class FulfilledPromise implements Promise

src/Promise.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ interface Promise
3838
* If you do not care about one of the cases, you can set the corresponding callable to null
3939
* The callback will be called when the value arrived and never more than once.
4040
*
41-
* @param callable(T): V|null $onFulfilled called when a response will be available
41+
* @param callable(T): V|null $onFulfilled called when a response will be available
4242
* @param callable(\Exception): V|null $onRejected called when an exception occurs
4343
*
4444
* @return Promise<V> a new resolved promise with value of the executed callback (onFulfilled / onRejected)
45+
*
4546
* @template V
4647
*/
4748
public function then(callable $onFulfilled = null, callable $onRejected = null);

src/RejectedPromise.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @author Joel Wurtz <joel.wurtz@gmail.com>
99
*
1010
* @template-covariant T
11+
*
1112
* @implements Promise<T>
1213
*/
1314
final class RejectedPromise implements Promise

0 commit comments

Comments
 (0)