@@ -377,7 +377,7 @@ class Utils | |||
return $this->getNextDay($this->getDayByNumber($number, 'en')); | |||
} | |||
public function getDayByNumber($number, $lang = 'fr') | |||
public static function getDayByNumber($number, $lang = 'fr') | |||
{ | |||
if ($lang == 'fr') { | |||
$daysArray = [ |