Skip to content

Commit cbb6d0d

Browse files
authored
Fixes jimmiw#67
Typo on DateTme.
1 parent b63ad09 commit cbb6d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Westsworld/TimeAgo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function getLanguage(): Language
6464
* @param DateTime $now the current time, defaults to now, using timezone from $past
6565
* @return string the time difference in a spoken format, e.g. 1 day ago
6666
*/
67-
public function inWords(DateTime $past, DateTme $now = null)
67+
public function inWords(DateTime $past, DateTime $now = null)
6868
{
6969
// ensuring that "now" is a DateTime object, using the past's timeZone
7070
// if needed, to create a new now object.

0 commit comments

Comments
 (0)