From ae05cf033ce3c072533222e29b85717b46ef61b5 Mon Sep 17 00:00:00 2001 From: Dirk Gustke Date: Thu, 28 May 2020 16:50:23 +0200 Subject: [PATCH] this annoyed me every time i came here to look up the syntax :) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aabb2eb6..433da7a3 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ if ($validator->isValid()) { } else { echo "JSON does not validate. Violations:\n"; foreach ($validator->getErrors() as $error) { - echo sprintf("[%s] %s\n", $error['property'], $error['message']); + printf("[%s] %s\n", $error['property'], $error['message']); } } ```