|
17 | 17 | * @method static \Illuminate\Support\Carbon|null create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $timezone = null)
|
18 | 18 | * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $timezone = null)
|
19 | 19 | * @method static \Illuminate\Support\Carbon|null createFromFormat($format, $time, $timezone = null)
|
20 |
| - * @method static \Illuminate\Support\Carbon|null createFromIsoFormat(string $format, string $time, $timezone = null, ?string $locale = 'en', ?TranslatorInterface $translator = null) |
| 20 | + * @method static \Illuminate\Support\Carbon|null createFromIsoFormat(string $format, string $time, $timezone = null, ?string $locale = 'en', ?\Symfony\Contracts\Translation\TranslatorInterface $translator = null) |
21 | 21 | * @method static \Illuminate\Support\Carbon|null createFromLocaleFormat(string $format, string $locale, string $time, $timezone = null)
|
22 | 22 | * @method static \Illuminate\Support\Carbon|null createFromLocaleIsoFormat(string $format, string $locale, string $time, $timezone = null)
|
23 | 23 | * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $timezone = null)
|
|
44 | 44 | * @method static string getLocale()
|
45 | 45 | * @method static int getMidDayAt()
|
46 | 46 | * @method static string getTimeFormatByPrecision(string $unitPrecision)
|
47 |
| - * @method static string|Closure|null getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) |
| 47 | + * @method static string|\Closure|null getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) |
48 | 48 | * @method static \Illuminate\Support\Carbon|null getTestNow()
|
49 | 49 | * @method static \Symfony\Contracts\Translation\TranslatorInterface getTranslator()
|
50 | 50 | * @method static int getWeekEndsAt(?string $locale = null)
|
|
69 | 69 | * @method static \Illuminate\Support\Carbon|null make($var, \DateTimeZone|string|null $timezone = null)
|
70 | 70 | * @method static void mixin(object|string $mixin)
|
71 | 71 | * @method static \Illuminate\Support\Carbon now(\DateTimeZone|string|int|null $timezone = null)
|
72 |
| - * @method static \Illuminate\Support\Carbon parse(\DateTimeInterface|WeekDay|Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null) |
| 72 | + * @method static \Illuminate\Support\Carbon parse(\DateTimeInterface|\Carbon\WeekDay|\Carbon\Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null) |
73 | 73 | * @method static \Illuminate\Support\Carbon parseFromLocale(string $time, ?string $locale = null, \DateTimeZone|string|int|null $timezone = null)
|
74 | 74 | * @method static string pluralUnit(string $unit)
|
75 | 75 | * @method static \Illuminate\Support\Carbon|null rawCreateFromFormat(string $format, string $time, $timezone = null)
|
76 |
| - * @method static \Illuminate\Support\Carbon rawParse(\DateTimeInterface|WeekDay|Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null) |
| 76 | + * @method static \Illuminate\Support\Carbon rawParse(\DateTimeInterface|\Carbon\WeekDay|\Carbon\Month|string|int|float|null $time, \DateTimeZone|string|int|null $timezone = null) |
77 | 77 | * @method static void resetMonthsOverflow()
|
78 | 78 | * @method static void resetToStringFormat()
|
79 | 79 | * @method static void resetYearsOverflow()
|
|
84 | 84 | * @method static void setMidDayAt($hour)
|
85 | 85 | * @method static void setTestNow(mixed $testNow = null)
|
86 | 86 | * @method static void setTestNowAndTimezone(mixed $testNow = null, $timezone = null)
|
87 |
| - * @method static void setToStringFormat(string|Closure|null $format) |
| 87 | + * @method static void setToStringFormat(string|\Closure|null $format) |
88 | 88 | * @method static void setTranslator(\Symfony\Contracts\Translation\TranslatorInterface $translator)
|
89 | 89 | * @method static void setWeekEndsAt($day)
|
90 | 90 | * @method static void setWeekStartsAt($day)
|
|
95 | 95 | * @method static void sleep(int|float $seconds)
|
96 | 96 | * @method static \Illuminate\Support\Carbon today(\DateTimeZone|string|int|null $timezone = null)
|
97 | 97 | * @method static \Illuminate\Support\Carbon tomorrow(\DateTimeZone|string|int|null $timezone = null)
|
98 |
| - * @method static string translateTimeString(string $timeString, ?string $from = null, ?string $to = null, int $mode = CarbonInterface::TRANSLATE_ALL) |
99 |
| - * @method static string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) |
| 98 | + * @method static string translateTimeString(string $timeString, ?string $from = null, ?string $to = null, int $mode = \Carbon\CarbonInterface::TRANSLATE_ALL) |
| 99 | + * @method static string translateWith(\Symfony\Contracts\Translation\TranslatorInterface $translator, string $key, array $parameters = [], $number = null) |
100 | 100 | * @method static void useMonthsOverflow($monthsOverflow = true)
|
101 | 101 | * @method static void useStrictMode($strictModeEnabled = true)
|
102 | 102 | * @method static void useYearsOverflow($yearsOverflow = true)
|
|
0 commit comments