Print warning when trying to create short URL from CLI on openswoole in verbose mode

This commit is contained in:
Alejandro Celaya
2023-04-12 18:30:02 +02:00
parent f078d95588
commit 399c56a097
4 changed files with 67 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ final class UrlShorteningResult
}
/**
* @param callable(Throwable $errorOnEventDispatching): void $handler
* @param callable(Throwable $errorOnEventDispatching): mixed $handler
*/
public function onEventDispatchingError(callable $handler): void
{