improve helper function
This commit is contained in:
1 parent
db79e86c5c
commit
900525b087
1 file changed
+1
-1
+1
-1
@@ -6,6 +6,6 @@ if (! function_exists('verta')) {
|
||||
*/
|
||||
function verta($string = null, $timezone = null)
|
||||
{
|
||||
return \Hekmatinasser\Verta\Verta::instance($string, $timezone);
|
||||
return new \Hekmatinasser\Verta\Verta($string, $timezone);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user