Add await/async function #19
Annotations
10 errors
src/thebigcrafter/Hydrogen/Hydrogen.php#L40
PHPDoc tag @param has invalid value (\Closure(...):T $closure): Unexpected token "(", expected variable at offset 255
|
src/thebigcrafter/Hydrogen/Hydrogen.php#L40
Template type T of method thebigcrafter\Hydrogen\Hydrogen::async() is not referenced in a parameter.
|
src/thebigcrafter/Hydrogen/exceptions/Cancellation.php#L27
PHPDoc tag @param has invalid value (\Closure(CancelledException) $callback Callback to be invoked on a cancellation request. Will receive a
`CancelledException` as first argument that may be used to fail the operation.): Unexpected token "(", expected variable at offset 265
|
src/thebigcrafter/Hydrogen/exceptions/Cancellation.php#L46
PHPDoc tag @throws with type thebigcrafter\Hydrogen\exceptions\CancelledException is not subtype of Throwable
|
src/thebigcrafter/Hydrogen/future/Future.php#L85
Parameter #1 $result of method thebigcrafter\Hydrogen\future\FutureState::complete() expects thebigcrafter\Hydrogen\future\T, Tv given.
|
src/thebigcrafter/Hydrogen/future/Future.php#L96
PHPDoc tag @var for variable $state contains generic type thebigcrafter\Hydrogen\future\FutureState<never> but class thebigcrafter\Hydrogen\future\FutureState is not generic.
|
src/thebigcrafter/Hydrogen/future/Future.php#L103
PHPDoc tag @var for property thebigcrafter\Hydrogen\future\Future::$state contains generic type thebigcrafter\Hydrogen\future\FutureState<mixed> but class thebigcrafter\Hydrogen\future\FutureState is not generic.
|
src/thebigcrafter/Hydrogen/future/Future.php#L110
PHPDoc tag @param for parameter $state contains generic type thebigcrafter\Hydrogen\future\FutureState<mixed> but class thebigcrafter\Hydrogen\future\FutureState is not generic.
|
src/thebigcrafter/Hydrogen/future/Future.php#L159
Parameter #1 $result of method thebigcrafter\Hydrogen\future\FutureState::complete() expects thebigcrafter\Hydrogen\future\T, Tr given.
|
src/thebigcrafter/Hydrogen/future/Future.php#L184
Parameter #1 $result of method thebigcrafter\Hydrogen\future\FutureState::complete() expects thebigcrafter\Hydrogen\future\T, thebigcrafter\Hydrogen\future\T|null given.
|
The logs for this run have expired and are no longer available.
Loading