From 75d38d6820c364c76cb5b72933199ce1baa4f981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Thu, 5 Dec 2024 19:29:41 +0100 Subject: [PATCH] improve README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb4e65fe..b9f8e97b 100644 --- a/README.md +++ b/README.md @@ -380,7 +380,7 @@ No time outs are supported. If the connection to the database server is lost or interrupted, the lock is automatically released. ```php -$pdo = new PDO('pgsql:host=localhost;dbname=test;', 'username'); +$pdo = new PDO('pgsql:host=localhost;dbname=test', 'username'); $mutex = new PgAdvisoryLockMutex($pdo, 'balance'); $mutex->synchronized(function () use ($bankAccount, $amount) {