From 0cd5ee45e46709985769025c38915879e57ddc97 Mon Sep 17 00:00:00 2001 From: Nasser Date: Mon, 23 Dec 2019 14:23:43 +0330 Subject: [PATCH] fb braces error --- src/Verta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Verta.php b/src/Verta.php index f5fd20d..8590676 100755 --- a/src/Verta.php +++ b/src/Verta.php @@ -937,9 +937,9 @@ class Verta extends DateTime { $result = ''; while ($i < $lenghFormat) { - $par = $format{$i}; + $par = $format[$i]; if ($par == '\\') { - $result .= $format{++$i}; + $result .= $format[++$i]; $i++; continue; }