improve helper function

This commit is contained in:
Nasser committed 2020-04-17 12:16:48 +04:30
1 parent db79e86c5c
commit 900525b087
1 file changed
+1 -1
+1 -1
View File
@@ -6,6 +6,6 @@ if (! function_exists('verta')) {
*/ */
function verta($string = null, $timezone = null) function verta($string = null, $timezone = null)
{ {
return \Hekmatinasser\Verta\Verta::instance($string, $timezone); return new \Hekmatinasser\Verta\Verta($string, $timezone);
} }
} }