From d9aef42fbbc2acb75490c5ac51b03d6c3214fa21 Mon Sep 17 00:00:00 2001 From: Scott Sandler Date: Mon, 22 Feb 2021 16:05:54 -0800 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 535a64e..9d97409 100644 --- a/README.md +++ b/README.md @@ -63,11 +63,10 @@ For example, assume you have a class in your source code that manages database c ``` $pool = new Slack\SQLFake\AsyncMysqlConnectionPool(darray[]); -fb_intercept('Db::getConnectionPool', (string $name, mixed $obj, array $args, mixed $data, bool &$done) ==> { +fb_intercept('Db::getConnectionPool', (string $name, mixed $obj, varray $args, mixed $data, inout bool $done) ==> { $done = true; return $pool; - }; -} +}); ``` The rest of your code can operate as normal, using the database in the same way it is used in production.