Skip to content

Commit

Permalink
Rename getLastWorkDays() to getLastDays().
Browse files Browse the repository at this point in the history
  • Loading branch information
samaphp committed Jan 22, 2020
1 parent a833d94 commit fdcae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fdcae6c

Please sign in to comment.