From 694e51aed2c9a2dc46a2594f27feb8573ca04f24 Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" <36761585+saMahmoudzadeh@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:26:39 +0330 Subject: [PATCH] [11.x] Fix: update `@param` in some doc block (#50827) * fix: update @param in some doc block * fix code style * Update src/Illuminate/Console/Signals.php --------- Co-authored-by: Dries Vints --- src/Illuminate/Console/Signals.php | 2 +- src/Illuminate/Foundation/Exceptions/Handler.php | 2 +- src/Illuminate/Foundation/Vite.php | 2 +- src/Illuminate/Mail/Mailables/Headers.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Console/Signals.php b/src/Illuminate/Console/Signals.php index 106b54d14319..f998f0ed52ba 100644 --- a/src/Illuminate/Console/Signals.php +++ b/src/Illuminate/Console/Signals.php @@ -142,7 +142,7 @@ protected function setHandlers($handlers) /** * Set the availability resolver. * - * @param callable(): bool + * @param (callable(): bool) $resolver * @return void */ public static function resolveAvailabilityUsing($resolver) diff --git a/src/Illuminate/Foundation/Exceptions/Handler.php b/src/Illuminate/Foundation/Exceptions/Handler.php index 791f2cc69812..7d049553737e 100644 --- a/src/Illuminate/Foundation/Exceptions/Handler.php +++ b/src/Illuminate/Foundation/Exceptions/Handler.php @@ -277,7 +277,7 @@ public function dontReport(array|string $exceptions) /** * Indicate that the given exception type should not be reported. * - * @param array|string $class + * @param array|string $exceptions * @return $this */ public function ignore(array|string $exceptions) diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index a81ca1616b96..0116a5bf7025 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -170,7 +170,7 @@ public function useManifestFilename($filename) /** * Resolve asset paths using the provided resolver. * - * @param callable|null $urlResolver + * @param callable|null $resolver * @return $this */ public function createAssetPathsUsing($resolver) diff --git a/src/Illuminate/Mail/Mailables/Headers.php b/src/Illuminate/Mail/Mailables/Headers.php index 87cee52b4768..71080873a819 100644 --- a/src/Illuminate/Mail/Mailables/Headers.php +++ b/src/Illuminate/Mail/Mailables/Headers.php @@ -76,7 +76,7 @@ public function references(array $references) /** * Set the headers for this message. * - * @param array $references + * @param array $text * @return $this */ public function text(array $text)