Skip to content

Commit 0ecdd71

Browse files
taylorotwellgithub-actions[bot]
authored andcommitted
Update facade docblocks
1 parent dd64ab7 commit 0ecdd71

25 files changed

+27
-27
lines changed

src/Illuminate/Support/Facades/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* @method static void forgetScopedInstances()
138138
* @method static \Illuminate\Foundation\Application getInstance()
139139
* @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null)
140-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
140+
* @method static void macro(string $name, object|callable $macro)
141141
* @method static void mixin(object $mixin, bool $replace = true)
142142
* @method static bool hasMacro(string $name)
143143
* @method static void flushMacros()

src/Illuminate/Support/Facades/Auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* @method static \Illuminate\Auth\SessionGuard forgetUser()
6060
* @method static \Illuminate\Contracts\Auth\UserProvider getProvider()
6161
* @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider)
62-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
62+
* @method static void macro(string $name, object|callable $macro)
6363
* @method static void mixin(object $mixin, bool $replace = true)
6464
* @method static bool hasMacro(string $name)
6565
* @method static void flushMacros()

src/Illuminate/Support/Facades/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @method static mixed remember(string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback)
3232
* @method static mixed sear(string $key, \Closure $callback)
3333
* @method static mixed rememberForever(string $key, \Closure $callback)
34-
* @method static mixed flexible(string $key, void $ttl, callable $callback, void $lock = null)
34+
* @method static mixed flexible(string $key, array $ttl, callable $callback, array|null $lock = null)
3535
* @method static bool forget(string $key)
3636
* @method static bool delete(string $key)
3737
* @method static bool deleteMultiple(iterable $keys)
@@ -44,7 +44,7 @@
4444
* @method static \Illuminate\Cache\Repository setStore(\Illuminate\Contracts\Cache\Store $store)
4545
* @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher()
4646
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
47-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
47+
* @method static void macro(string $name, object|callable $macro)
4848
* @method static void mixin(object $mixin, bool $replace = true)
4949
* @method static bool hasMacro(string $name)
5050
* @method static void flushMacros()

src/Illuminate/Support/Facades/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @method static void prepend(string $key, mixed $value)
1616
* @method static void push(string $key, mixed $value)
1717
* @method static array all()
18-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
18+
* @method static void macro(string $name, object|callable $macro)
1919
* @method static void mixin(object $mixin, bool $replace = true)
2020
* @method static bool hasMacro(string $name)
2121
* @method static void flushMacros()

src/Illuminate/Support/Facades/Context.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @method static \Illuminate\Log\Context\Repository flush()
3131
* @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
3232
* @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
33-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
33+
* @method static void macro(string $name, object|callable $macro)
3434
* @method static void mixin(object $mixin, bool $replace = true)
3535
* @method static bool hasMacro(string $name)
3636
* @method static void flushMacros()

src/Illuminate/Support/Facades/Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string|null $domain, bool|null $secure = false, string|null $sameSite = null)
1515
* @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies()
1616
* @method static \Illuminate\Cookie\CookieJar flushQueuedCookies()
17-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
17+
* @method static void macro(string $name, object|callable $macro)
1818
* @method static void mixin(object $mixin, bool $replace = true)
1919
* @method static bool hasMacro(string $name)
2020
* @method static void flushMacros()

src/Illuminate/Support/Facades/DB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @method static array getConnections()
2424
* @method static void setReconnector(callable $reconnector)
2525
* @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
26-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
26+
* @method static void macro(string $name, object|callable $macro)
2727
* @method static void mixin(object $mixin, bool $replace = true)
2828
* @method static bool hasMacro(string $name)
2929
* @method static void flushMacros()

src/Illuminate/Support/Facades/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver)
2323
* @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver)
2424
* @method static array getRawListeners()
25-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
25+
* @method static void macro(string $name, object|callable $macro)
2626
* @method static void mixin(object $mixin, bool $replace = true)
2727
* @method static bool hasMacro(string $name)
2828
* @method static void flushMacros()

src/Illuminate/Support/Facades/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* @method static bool cleanDirectory(string $directory)
5252
* @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
5353
* @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
54-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
54+
* @method static void macro(string $name, object|callable $macro)
5555
* @method static void mixin(object $mixin, bool $replace = true)
5656
* @method static bool hasMacro(string $name)
5757
* @method static void flushMacros()

src/Illuminate/Support/Facades/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @method static \Illuminate\Http\Client\PendingRequest createPendingRequest()
2424
* @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher()
2525
* @method static array getGlobalMiddleware()
26-
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
26+
* @method static void macro(string $name, object|callable $macro)
2727
* @method static void mixin(object $mixin, bool $replace = true)
2828
* @method static bool hasMacro(string $name)
2929
* @method static void flushMacros()

0 commit comments

Comments
 (0)