From 79a9f8997e4ee79c1a40dd3b4ee626716156fe21 Mon Sep 17 00:00:00 2001 From: "E. S." Date: Sun, 28 Jul 2024 22:00:00 +0300 Subject: [PATCH] fix a typo --- engine/skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/skin.php b/engine/skin.php index 2ba35f6..ca763f3 100644 --- a/engine/skin.php +++ b/engine/skin.php @@ -166,7 +166,7 @@ class SkinContext { } $given_count = count($arguments)+1; assert($given_count >= $fparams_required_count && $given_count <= count($fparams), - "$fn: invalid number of arguments (function has ".$fparams_required_count." required arguments".(count($fparams) != $fparams_required_count ? ' and '.count($fparams).' total argumments' : '').", received ".(count($arguments) + 1).")"); + "$fn: invalid number of arguments (function has ".$fparams_required_count." required arguments".(count($fparams) != $fparams_required_count ? ' and '.count($fparams).' total arguments' : '').", received ".(count($arguments) + 1).")"); foreach ($fparams as $n => $param) { if ($n == 0)