fix throw => throws

This commit is contained in:
Ivan Fedorov 2021-06-29 21:00:22 +03:00 committed by Ivan Fedorov
parent c804f65945
commit 1b352c474f
1 changed files with 6 additions and 6 deletions

View File

@ -902,8 +902,8 @@ final class Fiber
*
* @return mixed Value from the first suspension point or NULL if the fiber returns.
*
* @throw FiberError If the fiber has already been started.
* @throw Throwable If the fiber callable throws an uncaught exception.
* @throws FiberError If the fiber has already been started.
* @throws Throwable If the fiber callable throws an uncaught exception.
*/
public function start(mixed ...$args) {}
@ -915,8 +915,8 @@ final class Fiber
*
* @return mixed Value from the next suspension point or NULL if the fiber returns.
*
* @throw FiberError If the fiber has not started, is running, or has terminated.
* @throw Throwable If the fiber callable throws an uncaught exception.
* @throws FiberError If the fiber has not started, is running, or has terminated.
* @throws Throwable If the fiber callable throws an uncaught exception.
*/
public function resume(mixed $value = null) {}
@ -928,8 +928,8 @@ final class Fiber
*
* @return mixed Value from the next suspension point or NULL if the fiber returns.
*
* @throw FiberError If the fiber has not started, is running, or has terminated.
* @throw Throwable If the fiber callable throws an uncaught exception.
* @throws FiberError If the fiber has not started, is running, or has terminated.
* @throws Throwable If the fiber callable throws an uncaught exception.
*/
public function throw(Throwable $exception) {}