From dcb583267a9e135577b32fb559acfb0b61b3be71 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Fri, 24 Jun 2022 13:17:10 +0200 Subject: [PATCH] document how to uninstall a filter --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0155f2c..fab78da 100644 --- a/README.md +++ b/README.md @@ -107,10 +107,10 @@ class V8Js /** * Provate a function or method to be used to convert/proxy PHP exceptions to JS. * This can be any valid PHP callable. - * The factory function will receive the PHP Exception instance that has not been caught and is - * due to be forwarded to JS. + * The converter function will receive the PHP Exception instance that has not been caught and + * is due to be forwarded to JS. Pass NULL as $filter to uninstall an existing filter. */ - public function setExceptionFilter(callable $factory) + public function setExceptionFilter(callable $filter) {} /**