From bb68f48d3056654f431a49b61b2f1636e8c30482 Mon Sep 17 00:00:00 2001 From: Remco Koopmans Date: Mon, 20 Feb 2023 10:59:08 +0100 Subject: [PATCH] String interpolation fix: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation --- lib/Tinify/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tinify/Client.php b/lib/Tinify/Client.php index 80baed0..9ec17a3 100644 --- a/lib/Tinify/Client.php +++ b/lib/Tinify/Client.php @@ -28,7 +28,7 @@ function __construct($key, $app_identifier = NULL, $proxy = NULL) { if ($curl["version_number"] < 0x071201) { $version = $curl["version"]; - throw new ClientException("Your curl version ${version} is outdated; please upgrade to 7.18.1 or higher"); + throw new ClientException("Your curl version {$version} is outdated; please upgrade to 7.18.1 or higher"); } $this->options = array(