diff --git a/src/Support/DateHelper.php b/src/Support/DateHelper.php index 14dcf8a..40ec4c3 100644 --- a/src/Support/DateHelper.php +++ b/src/Support/DateHelper.php @@ -16,7 +16,7 @@ public static function dateFromDateParts(array $parts) return ''; } - list($year, $month, $day) = array_merge($parts, [1, 1, 1]); + [$year, $month, $day] = array_merge($parts, [1, 1, 1]); return static::formatForParts( Carbon::createFromDate($year, $month, $day),