diff --git a/src/Helpers.php b/src/Helpers.php index ac3c794..a20ce72 100644 --- a/src/Helpers.php +++ b/src/Helpers.php @@ -48,7 +48,7 @@ public function setEmployee($employee) { /** * Getting last work days. */ - public function getLastWorkDays($limit = 5, $week_days = [1, 2, 3, 4, 7]) { + public function getLastDays($limit = 5, $week_days = [1, 2, 3, 4, 7]) { // Source: https://stackoverflow.com/a/47750178/366884 $date = date('Y/m/d'); $ts = strtotime($date);