@@ -219,14 +219,6 @@ final class Ev implements EventInterface
}
/**
- * {@inheritdoc}
- */
- public function getErrorHandler(): ?callable
- {
- return $this->errorHandler;
- }
-
- /**
* @param callable $func
* @param array $args
* @return void
@@ -273,14 +273,6 @@ final class Event implements EventInterface
@@ -140,11 +140,4 @@ interface EventInterface
*/
public function setErrorHandler(callable $errorHandler): void;
- * Get error handler
- *
- * @return null|callable (\Throwable): void
- public function getErrorHandler(): ?callable;
@@ -262,12 +262,4 @@ final class Revolt implements EventInterface
{
$this->driver->setErrorHandler($errorHandler);
- return $this->driver->getErrorHandler();
@@ -442,14 +442,6 @@ final class Select implements EventInterface
@@ -234,14 +234,6 @@ final class Swoole implements EventInterface
@@ -276,14 +276,6 @@ final class Swow implements EventInterface