We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63ad09 commit cbb6d0dCopy full SHA for cbb6d0d
src/Westsworld/TimeAgo.php
@@ -64,7 +64,7 @@ protected function getLanguage(): Language
64
* @param DateTime $now the current time, defaults to now, using timezone from $past
65
* @return string the time difference in a spoken format, e.g. 1 day ago
66
*/
67
- public function inWords(DateTime $past, DateTme $now = null)
+ public function inWords(DateTime $past, DateTime $now = null)
68
{
69
// ensuring that "now" is a DateTime object, using the past's timeZone
70
// if needed, to create a new now object.
0 commit comments