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 Jun 1, 2023
1 parent fd7efc0 commit 31ad284
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Illuminate/Support/Facades/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Illuminate\Support\Facades;

/**
* @method static void configure(string|null $baseDirectory = null)
* @method static string version()
* @method static void bootstrapWith(string[] $bootstrappers)
* @method static void afterLoadingEnvironment(\Closure $callback)
Expand Down Expand Up @@ -55,6 +56,8 @@
* @method static void booting(callable $callback)
* @method static void booted(callable $callback)
* @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, int $type = 1, bool $catch = true)
* @method static void handleRequest(\Illuminate\Http\Request $request)
* @method static int handleCommand(\Symfony\Component\Console\Input\InputInterface $input)
* @method static bool shouldSkipMiddleware()
* @method static string getCachedServicesPath()
* @method static string getCachedPackagesPath()
Expand Down
1 change: 1 addition & 0 deletions src/Illuminate/Support/Facades/Artisan.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @method static void terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status)
* @method static void whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler)
* @method static \Illuminate\Support\Carbon|null commandStartedAt()
* @method static \Illuminate\Console\Scheduling\Schedule resolveConsoleSchedule()
* @method static \Illuminate\Foundation\Console\ClosureCommand command(string $signature, \Closure $callback)
* @method static void registerCommand(\Symfony\Component\Console\Command\Command $command)
* @method static int call(string $command, array $parameters = [], \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null)
Expand Down
14 changes: 14 additions & 0 deletions src/Illuminate/Support/Facades/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
use Illuminate\Console\Scheduling\Schedule as ConsoleSchedule;

/**
* @method static \Illuminate\Console\Scheduling\CallbackEvent call(string|callable $callback, array $parameters = [])
* @method static \Illuminate\Console\Scheduling\Event command(string $command, array $parameters = [])
* @method static \Illuminate\Console\Scheduling\CallbackEvent job(object|string $job, string|null $queue = null, string|null $connection = null)
* @method static \Illuminate\Console\Scheduling\Event exec(string $command, array $parameters = [])
* @method static string compileArrayInput(string|int $key, array $value)
* @method static bool serverShouldRun(\Illuminate\Console\Scheduling\Event $event, \DateTimeInterface $time)
* @method static \Illuminate\Support\Collection dueEvents(\Illuminate\Contracts\Foundation\Application $app)
* @method static \Illuminate\Console\Scheduling\Event[] events()
* @method static \Illuminate\Console\Scheduling\Schedule useCache(string $store)
* @method static void macro(string $name, object|callable $macro)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
*
* @see \Illuminate\Console\Scheduling\Schedule
*/
class Schedule extends Facade
Expand Down

0 comments on commit 31ad284

Please sign in to comment.