fix method name

This commit is contained in:
Nasser committed 2020-04-17 15:27:36 +04:30
1 parent 900525b087
commit 629213f566
4 files changed
+20 -19

No files matched your search

+4 -3
View File
@@ -1,11 +1,12 @@
<?php
if (! function_exists('verta')) {
/**
* @param string $str
* @param null $datetime
* @param null $timezone
* @return \Hekmatinasse\Verta\Verta
*/
function verta($string = null, $timezone = null)
function verta($datetime = null, $timezone = null)
{
return new \Hekmatinasser\Verta\Verta($string, $timezone);
return new \Hekmatinasser\Verta\Verta($datetime, $timezone);
}
}