Skip to content

Commit 8865acc

Browse files
committed
Fix typo
1 parent 84d280a commit 8865acc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/When.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -666,14 +666,15 @@ private function countOccurrencesBefore($date)
666666

667667
private static function abbrevToDayName($abbrev)
668668
{
669-
$daynames = array('su' => 'Sunday',
669+
$daynames = [
670+
'su' => 'Sunday',
670671
'mo' => 'Monday',
671672
'tu' => 'Tuesday',
672673
'we' => 'Wednesday',
673674
'th' => 'Thursday',
674675
'fr' => 'Friday',
675-
'sa' => 'Saturyday',
676-
);
676+
'sa' => 'Saturday',
677+
];
677678
return $daynames[strtolower($abbrev)];
678679
}
679680

0 commit comments

Comments
 (0)