Skip to content

Commit

Permalink
Update facade docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored and github-actions[bot] committed May 16, 2024
1 parent 4ab7387 commit ed813eb
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
* @method static void forgetScopedInstances()
* @method static \Illuminate\Foundation\Application getInstance()
* @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
* @method static \Illuminate\Auth\SessionGuard forgetUser()
* @method static \Illuminate\Contracts\Auth\UserProvider getProvider()
* @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @method static \Illuminate\Cache\Repository setStore(\Illuminate\Contracts\Cache\Store $store)
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @method static void prepend(string $key, mixed $value)
* @method static void push(string $key, mixed $value)
* @method static array all()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method static \Illuminate\Log\Context\Repository flush()
* @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string|null $domain, bool|null $secure = false, string|null $sameSite = null)
* @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies()
* @method static \Illuminate\Cookie\CookieJar flushQueuedCookies()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @method static array getConnections()
* @method static void setReconnector(callable $reconnector)
* @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver)
* @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver)
* @method static array getRawListeners()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* @method static bool cleanDirectory(string $directory)
* @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @method static \Illuminate\Http\Client\PendingRequest createPendingRequest()
* @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher()
* @method static array getGlobalMiddleware()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @method static void stringable(callable|string $class, callable|null $handler = null)
* @method static void setParsedKey(string $key, array $parsed)
* @method static void flushParsedKeys()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @method static \Illuminate\Contracts\View\Factory getViewFactory()
* @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport)
* @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @method static bool hasSent(mixed $notifiable, string $notification)
* @method static \Illuminate\Support\Testing\Fakes\NotificationFake serializeAndRestore(bool $serializeAndRestore = true)
* @method static array sentNotifications()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @method static \Illuminate\Contracts\Process\ProcessResult pipe(callable|array $callback, callable|null $output = null)
* @method static \Illuminate\Process\ProcessPoolResults concurrently(callable $callback, callable|null $output = null)
* @method static \Illuminate\Process\PendingProcess newPendingProcess()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @method static void setSession(\Illuminate\Session\Store $session)
* @method static string|null getIntendedUrl()
* @method static \Illuminate\Routing\Redirector setIntendedUrl(string $url)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
* @method static void unsetEventDispatcher()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
* @method static \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null file(string|null $key = null, mixed $default = null)
* @method static \Illuminate\Http\Request dump(mixed $keys = [])
* @method static never dd(mixed ...$args)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = [])
* @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
* @method static void setCompiledRoutes(array $routes)
* @method static array uniqueMiddleware(array $middleware)
* @method static \Illuminate\Routing\Router setContainer(\Illuminate\Container\Container $container)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @method static \Illuminate\Database\Connection getConnection()
* @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection)
* @method static void blueprintResolver(\Closure $resolver)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
* @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler)
* @method static bool handlerNeedsRequest()
* @method static void setRequestOnHandler(\Illuminate\Http\Request $request)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
* @method static void buildTemporaryUrlsUsing(\Closure $callback)
* @method static \Illuminate\Filesystem\FilesystemAdapter|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static \Illuminate\Filesystem\FilesystemAdapter|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @method static \Illuminate\Routing\UrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver)
* @method static string getRootControllerNamespace()
* @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace)
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @method static void setContainer(\Illuminate\Contracts\Container\Container $container)
* @method static mixed shared(string $key, mixed $default = null)
* @method static array getShared()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @method static string|null manifestHash(string|null $buildDirectory = null)
* @method static bool isRunningHot()
* @method static string toHtml()
* @method static void macro(string $name, object|callable $macro)
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
Expand Down

0 comments on commit ed813eb

Please sign in to comment.