Skip to content

Commit dcb5832

Browse files
committed
document how to uninstall a filter
1 parent bf51bf5 commit dcb5832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ class V8Js
107107
/**
108108
* Provate a function or method to be used to convert/proxy PHP exceptions to JS.
109109
* This can be any valid PHP callable.
110-
* The factory function will receive the PHP Exception instance that has not been caught and is
111-
* due to be forwarded to JS.
110+
* The converter function will receive the PHP Exception instance that has not been caught and
111+
* is due to be forwarded to JS. Pass NULL as $filter to uninstall an existing filter.
112112
*/
113-
public function setExceptionFilter(callable $factory)
113+
public function setExceptionFilter(callable $filter)
114114
{}
115115

116116
/**

0 commit comments

Comments
 (0)