From e740b582e2d3234986b02b367ac3b561fce6e475 Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" <36761585+saMahmoudzadeh@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:09:25 +0330 Subject: [PATCH] [11.x] Fix: update `@param` in doc blocks (#50791) * fix: update @param in doc blocks * fix: update code style --- src/Illuminate/Database/Events/DatabaseRefreshed.php | 2 +- .../Database/Migrations/DatabaseMigrationRepository.php | 2 +- src/Illuminate/Foundation/Console/ChannelListCommand.php | 2 +- src/Illuminate/Support/DefaultProviders.php | 2 +- src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Illuminate/Database/Events/DatabaseRefreshed.php b/src/Illuminate/Database/Events/DatabaseRefreshed.php index f476c39e43b4..4b63aefd6e63 100644 --- a/src/Illuminate/Database/Events/DatabaseRefreshed.php +++ b/src/Illuminate/Database/Events/DatabaseRefreshed.php @@ -10,7 +10,7 @@ class DatabaseRefreshed implements MigrationEventContract * Create a new event instance. * * @param string|null $database - * @param bool seeding + * @param bool $seeding * @return void */ public function __construct( diff --git a/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php b/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php index bd8ee4963129..cf020d64db06 100755 --- a/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php +++ b/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php @@ -71,7 +71,7 @@ public function getMigrations($steps) /** * Get the list of the migrations by batch number. * - * @param int $batchNumber + * @param int $batch * @return array */ public function getMigrationsByBatch($batch) diff --git a/src/Illuminate/Foundation/Console/ChannelListCommand.php b/src/Illuminate/Foundation/Console/ChannelListCommand.php index 8e4d8bacce60..7063f1addfe1 100644 --- a/src/Illuminate/Foundation/Console/ChannelListCommand.php +++ b/src/Illuminate/Foundation/Console/ChannelListCommand.php @@ -36,7 +36,7 @@ class ChannelListCommand extends Command /** * Execute the console command. * - * @param \Illuminate\Contracts\Broadcasting\Broadcaster + * @param \Illuminate\Contracts\Broadcasting\Broadcaster $broadcaster * @return void */ public function handle(Broadcaster $broadcaster) diff --git a/src/Illuminate/Support/DefaultProviders.php b/src/Illuminate/Support/DefaultProviders.php index 395b7cb9ec43..57598a614ec0 100644 --- a/src/Illuminate/Support/DefaultProviders.php +++ b/src/Illuminate/Support/DefaultProviders.php @@ -60,7 +60,7 @@ public function merge(array $providers) /** * Replace the given providers with other providers. * - * @param array $items + * @param array $replacements * @return static */ public function replace(array $replacements) diff --git a/src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php b/src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php index 4d1cec732ed3..4026ad2338b3 100644 --- a/src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php +++ b/src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php @@ -27,7 +27,7 @@ public function __construct(Closure $callback) /** * Invoke the truth test with the given pending batch. * - * @param \Illuminate\Bus\PendingBatch + * @param \Illuminate\Bus\PendingBatch $pendingBatch * @return bool */ public function __invoke($pendingBatch)