File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ protected function getLanguage(): Language
64
64
* @param DateTime $now the current time, defaults to now, using timezone from $past
65
65
* @return string the time difference in a spoken format, e.g. 1 day ago
66
66
*/
67
- public function inWords (DateTime $ past , DateTme $ now = null )
67
+ public function inWords (DateTime $ past , DateTime $ now = null )
68
68
{
69
69
// ensuring that "now" is a DateTime object, using the past's timeZone
70
70
// if needed, to create a new now object.
Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ public function getTranslations(): array
23
23
* Sets the list of translations, in a key->value format
24
24
*
25
25
* @param array $translations the translations to set
26
- * @return void
27
26
*/
28
- public function setTranslations (array $ translations ): void
27
+ public function setTranslations (array $ translations )
29
28
{
30
29
$ this ->translations = $ translations ;
31
30
}
Original file line number Diff line number Diff line change 5
5
use \Westsworld \TimeAgo \Language ;
6
6
7
7
/**
8
- * Bulgarian translations
8
+ * Catalan translations
9
9
*/
10
- class Bg extends Language
10
+ class Ca extends Language
11
11
{
12
12
public function __construct ()
13
13
{
Original file line number Diff line number Diff line change 5
5
use \Westsworld \TimeAgo \Language ;
6
6
7
7
/**
8
- * Danish translations
8
+ * English translations
9
9
*/
10
10
class En extends Language
11
11
{
You can’t perform that action at this time.
0 commit comments