Skip to content

Commit e4feb68

Browse files
taylorotwellgithub-actions[bot]
authored andcommitted
Update facade docblocks
1 parent 258ed58 commit e4feb68

File tree

3 files changed

+65
-3
lines changed

3 files changed

+65
-3
lines changed

src/Illuminate/Support/Facades/DB.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@
102102
* @method static \Illuminate\Database\Connection setReadWriteType(string|null $readWriteType)
103103
* @method static string getTablePrefix()
104104
* @method static \Illuminate\Database\Connection setTablePrefix(string $prefix)
105-
* @method static void withTablePrefix(\Illuminate\Database\Grammar $grammar)
105+
* @method static \Illuminate\Database\Grammar withTablePrefix(\Illuminate\Database\Grammar $grammar)
106106
* @method static string getServerVersion()
107107
* @method static void resolverFor(string $driver, \Closure $callback)
108108
* @method static \Closure|null getResolver(string $driver)
109-
* @method static void transaction(\Closure $callback, int $attempts = 1)
109+
* @method static mixed transaction(\Closure $callback, int $attempts = 1)
110110
* @method static void beginTransaction()
111111
* @method static void commit()
112112
* @method static void rollBack(int|null $toLevel = null)

src/Illuminate/Support/Facades/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static \Illuminate\Http\Client\ResponseSequence sequence(array $responses = [])
1515
* @method static bool preventingStrayRequests()
1616
* @method static \Illuminate\Http\Client\Factory allowStrayRequests()
17-
* @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response $response)
17+
* @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response|null $response)
1818
* @method static void assertSent(callable $callback)
1919
* @method static void assertSentInOrder(array $callbacks)
2020
* @method static void assertNotSent(callable $callback)

src/Illuminate/Support/Facades/Schedule.php

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @method static \Illuminate\Console\Scheduling\Event command(string $command, array $parameters = [])
1010
* @method static \Illuminate\Console\Scheduling\CallbackEvent job(object|string $job, string|null $queue = null, string|null $connection = null)
1111
* @method static \Illuminate\Console\Scheduling\Event exec(string $command, array $parameters = [])
12+
* @method static void group(\Closure $events)
1213
* @method static string compileArrayInput(string|int $key, array $value)
1314
* @method static bool serverShouldRun(\Illuminate\Console\Scheduling\Event $event, \DateTimeInterface $time)
1415
* @method static \Illuminate\Support\Collection dueEvents(\Illuminate\Contracts\Foundation\Application $app)
@@ -18,6 +19,67 @@
1819
* @method static void mixin(object $mixin, bool $replace = true)
1920
* @method static bool hasMacro(string $name)
2021
* @method static void flushMacros()
22+
* @method static mixed macroCall(string $method, array $parameters)
23+
* @method static void mergeAttributes(\Illuminate\Console\Scheduling\Event $event)
24+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes user(string $user)
25+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes environments(array|mixed $environments)
26+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes evenInMaintenanceMode()
27+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes withoutOverlapping(int $expiresAt = 1440)
28+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes onOneServer()
29+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes runInBackground()
30+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes when(\Closure|bool $callback)
31+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes skip(\Closure|bool $callback)
32+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes cron(string $expression)
33+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes between(string $startTime, string $endTime)
34+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes unlessBetween(string $startTime, string $endTime)
35+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everySecond()
36+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoSeconds()
37+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFiveSeconds()
38+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTenSeconds()
39+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFifteenSeconds()
40+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwentySeconds()
41+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThirtySeconds()
42+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyMinute()
43+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoMinutes()
44+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThreeMinutes()
45+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFourMinutes()
46+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFiveMinutes()
47+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTenMinutes()
48+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFifteenMinutes()
49+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThirtyMinutes()
50+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes hourly()
51+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes hourlyAt(array|string|int $offset)
52+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyOddHour(array|string|int $offset = 0)
53+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyTwoHours(array|string|int $offset = 0)
54+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyThreeHours(array|string|int $offset = 0)
55+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everyFourHours(array|string|int $offset = 0)
56+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes everySixHours(array|string|int $offset = 0)
57+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes daily()
58+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes at(string $time)
59+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes dailyAt(string $time)
60+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceDaily(int $first = 1, int $second = 13)
61+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceDailyAt(int $first = 1, int $second = 13, int $offset = 0)
62+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekdays()
63+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekends()
64+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes mondays()
65+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes tuesdays()
66+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes wednesdays()
67+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes thursdays()
68+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes fridays()
69+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes saturdays()
70+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes sundays()
71+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes weekly()
72+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes weeklyOn(array|mixed $dayOfWeek, string $time = '0:0')
73+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes monthly()
74+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes monthlyOn(int $dayOfMonth = 1, string $time = '0:0')
75+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes twiceMonthly(int $first = 1, int $second = 16, string $time = '0:0')
76+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes lastDayOfMonth(string $time = '0:0')
77+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes quarterly()
78+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes quarterlyOn(int $dayOfQuarter = 1, string $time = '0:0')
79+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes yearly()
80+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes yearlyOn(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0')
81+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes days(array|mixed $days)
82+
* @method static \Illuminate\Console\Scheduling\PendingEventAttributes timezone(\DateTimeZone|string $timezone)
2183
*
2284
* @see \Illuminate\Console\Scheduling\Schedule
2385
*/

0 commit comments

Comments
 (0)