Skip to content

[12.x] Update Date Facade Docblocks #55235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions src/Illuminate/Support/Facades/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* @method static \Illuminate\Support\Carbon|null createFromLocaleFormat(string $format, string $locale, string $time, $timezone = null)
* @method static \Illuminate\Support\Carbon|null createFromLocaleIsoFormat(string $format, string $locale, string $time, $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimeString(string $time, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimestamp(string|int|float $timestamp, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimestampMs(string|int|float $timestamp, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimeString(string $time, \DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimestamp(string|int|float $timestamp, \DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimestampMs(string|int|float $timestamp, \DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon createFromTimestampMsUTC($timestamp)
* @method static \Illuminate\Support\Carbon createFromTimestampUTC(string|int|float $timestamp)
* @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $timezone = null)
Expand Down Expand Up @@ -55,7 +55,7 @@
* @method static bool hasMacro($name)
* @method static bool hasRelativeKeywords(?string $time)
* @method static bool hasTestNow()
* @method static \Illuminate\Support\Carbon instance(DateTimeInterface $date)
* @method static \Illuminate\Support\Carbon instance(\DateTimeInterface $date)
* @method static bool isImmutable()
* @method static bool isModifiableUnit($unit)
* @method static bool isMutable()
Expand All @@ -66,14 +66,14 @@
* @method static bool localeHasPeriodSyntax($locale)
* @method static bool localeHasShortUnits(string $locale)
* @method static void macro(string $name, ?callable $macro)
* @method static \Illuminate\Support\Carbon|null make($var, DateTimeZone|string|null $timezone = null)
* @method static \Illuminate\Support\Carbon|null make($var, \DateTimeZone|string|null $timezone = null)
* @method static void mixin(object|string $mixin)
* @method static \Illuminate\Support\Carbon now(DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon parse(DateTimeInterface|WeekDay|Month|string|int|float|null $time, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon parseFromLocale(string $time, ?string $locale = null, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon now(\DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon parse(\DateTimeInterface|WeekDay|Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon parseFromLocale(string $time, ?string $locale = null, \DateTimeZone|string|int|null $timezone = null)
* @method static string pluralUnit(string $unit)
* @method static \Illuminate\Support\Carbon|null rawCreateFromFormat(string $format, string $time, $timezone = null)
* @method static \Illuminate\Support\Carbon rawParse(DateTimeInterface|WeekDay|Month|string|int|float|null $time, DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon rawParse(\DateTimeInterface|WeekDay|Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null)
* @method static void resetMonthsOverflow()
* @method static void resetToStringFormat()
* @method static void resetYearsOverflow()
Expand All @@ -93,16 +93,16 @@
* @method static bool shouldOverflowYears()
* @method static string singularUnit(string $unit)
* @method static void sleep(int|float $seconds)
* @method static \Illuminate\Support\Carbon today(DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon tomorrow(DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon today(\DateTimeZone|string|int|null $timezone = null)
* @method static \Illuminate\Support\Carbon tomorrow(\DateTimeZone|string|int|null $timezone = null)
* @method static string translateTimeString(string $timeString, ?string $from = null, ?string $to = null, int $mode = CarbonInterface::TRANSLATE_ALL)
* @method static string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null)
* @method static void useMonthsOverflow($monthsOverflow = true)
* @method static void useStrictMode($strictModeEnabled = true)
* @method static void useYearsOverflow($yearsOverflow = true)
* @method static mixed withTestNow(mixed $testNow, callable $callback)
* @method static static withTimeZone(DateTimeZone|string|int|null $timezone)
* @method static \Illuminate\Support\Carbon yesterday(DateTimeZone|string|int|null $timezone = null)
* @method static static withTimeZone(\DateTimeZone|string|int|null $timezone)
* @method static \Illuminate\Support\Carbon yesterday(\DateTimeZone|string|int|null $timezone = null)
*
* @see \Illuminate\Support\DateFactory
*/
Expand Down
Loading