From 2a83c57425da2c35cc95d2f9d22a9442c8f559c4 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 26 Jun 2023 12:45:29 +0200 Subject: [PATCH] fix psalm Signed-off-by: Simon L --- php/src/ContainerDefinitionFetcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/ContainerDefinitionFetcher.php b/php/src/ContainerDefinitionFetcher.php index 65e55a0a..6deb308d 100644 --- a/php/src/ContainerDefinitionFetcher.php +++ b/php/src/ContainerDefinitionFetcher.php @@ -48,7 +48,7 @@ class ContainerDefinitionFetcher if (!$validator->isValid()) { error_log("JSON does not validate. Violations:"); foreach ($validator->getErrors() as $error) { - error_log(printf("[%s] %s\n", $error['property'], $error['message'])); + error_log((string)printf("[%s] %s\n", $error['property'], $error['message'])); } } }