From 2fec7f078a3d59780f3a6acd9247e9a65bd113ee Mon Sep 17 00:00:00 2001 From: Nasser Date: Thu, 26 Dec 2019 09:34:08 +0330 Subject: [PATCH] fb braces --- src/Verta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Verta.php b/src/Verta.php index 8590676..f80f634 100755 --- a/src/Verta.php +++ b/src/Verta.php @@ -1096,9 +1096,9 @@ class Verta extends DateTime { $word = new Notowo(0, 'fa'); while ($i < $lenghFormat) { - $par = $format{$i}; + $par = $format[$i]; if ($par == '\\') { - $result .= $format{ ++$i}; + $result .= $format[++$i]; $i ++; continue; }