From 0d9eaf42211239f4f80e8f1191ff24b986c27f43 Mon Sep 17 00:00:00 2001
From: coolsam726 <coolsam726@users.noreply.github.com>
Date: Sun, 26 Feb 2023 17:04:40 +0000
Subject: [PATCH] Fix styling

---
 src/Commands/FilamentModuleCommand.php |  6 ------
 src/ContextManager.php                 |  9 ---------
 src/FilamentModules.php                | 16 ----------------
 src/FilamentModulesServiceProvider.php |  3 ---
 src/Http/Middleware/ApplyContext.php   |  3 ---
 5 files changed, 37 deletions(-)

diff --git a/src/Commands/FilamentModuleCommand.php b/src/Commands/FilamentModuleCommand.php
index 05a1323f..6f4cf7db 100644
--- a/src/Commands/FilamentModuleCommand.php
+++ b/src/Commands/FilamentModuleCommand.php
@@ -71,8 +71,6 @@ protected function getContextInput(): string
 
     /**
      * Get the console command arguments.
-     *
-     * @return array
      */
     protected function getArguments(): array
     {
@@ -84,8 +82,6 @@ protected function getArguments(): array
 
     /**
      * Get the console command options.
-     *
-     * @return array
      */
     protected function getOptions(): array
     {
@@ -230,9 +226,7 @@ protected function copyStubToApp(string $stub, string $targetPath, array $replac
     /**
      * Install the service provider in the application configuration file.
      *
-     * @param  string  $after
      * @param  string  $providerClass | Fully namespaced service class
-     * @return void
      */
     protected function installServiceProvider(string $providerClass, string $after = 'RouteServiceProvider'): void
     {
diff --git a/src/ContextManager.php b/src/ContextManager.php
index 92047d96..33f02538 100644
--- a/src/ContextManager.php
+++ b/src/ContextManager.php
@@ -7,9 +7,6 @@
 
 class ContextManager extends FilamentManager
 {
-    /**
-     * @var string|null
-     */
     protected static ?string $config = null;
 
     public function __construct($config)
@@ -17,17 +14,11 @@ public function __construct($config)
         static::$config = $config;
     }
 
-    /**
-     * @return Guard|null
-     */
     public static function getAuth(): ?Guard
     {
         return static::$config ? auth()->guard(config(static::$config.'.auth.guard')) : null;
     }
 
-    /**
-     * @return Guard
-     */
     public function auth(): Guard
     {
         return static::getAuth() ?? auth()->guard(config('filament.auth.guard'));
diff --git a/src/FilamentModules.php b/src/FilamentModules.php
index 09d57e78..21738997 100644
--- a/src/FilamentModules.php
+++ b/src/FilamentModules.php
@@ -14,16 +14,12 @@ class FilamentModules
 
     protected ?string $currentContext = null;
 
-    /**
-     * @param  FilamentManager  $filament
-     */
     public function __construct(FilamentManager $filament)
     {
         $this->contexts['filament'] = $filament;
     }
 
     /**
-     * @param  string|null  $context
      * @return $this
      */
     public function setContext(string $context = null)
@@ -33,9 +29,6 @@ public function setContext(string $context = null)
         return $this;
     }
 
-    /**
-     * @return string
-     */
     public function currentContext(): string
     {
         return $this->currentContext ?? 'filament';
@@ -49,16 +42,12 @@ public function getContext()
         return $this->contexts[$this->currentContext ?? 'filament'];
     }
 
-    /**
-     * @return array
-     */
     public function getContexts(): array
     {
         return $this->contexts;
     }
 
     /**
-     * @param  string  $name
      * @return $this
      */
     public function addContext(string $name)
@@ -69,8 +58,6 @@ public function addContext(string $name)
     }
 
     /**
-     * @param  string  $context
-     * @param  callable  $callback
      * @return $this
      */
     public function forContext(string $context, callable $callback)
@@ -87,7 +74,6 @@ public function forContext(string $context, callable $callback)
     }
 
     /**
-     * @param  callable  $callback
      * @return $this
      */
     public function forAllContexts(callable $callback)
@@ -108,8 +94,6 @@ public function forAllContexts(callable $callback)
     /**
      * Dynamically handle calls into the filament instance.
      *
-     * @param  string  $method
-     * @param  array  $parameters
      * @return mixed
      */
     public function __call(string $method, array $parameters)
diff --git a/src/FilamentModulesServiceProvider.php b/src/FilamentModulesServiceProvider.php
index fed7a363..1fd5a527 100644
--- a/src/FilamentModulesServiceProvider.php
+++ b/src/FilamentModulesServiceProvider.php
@@ -54,9 +54,6 @@ public function packageRegistered(): void
         });
     }
 
-    /**
-     * @return void
-     */
     public function packageBooted(): void
     {
         Livewire::addPersistentMiddleware([
diff --git a/src/Http/Middleware/ApplyContext.php b/src/Http/Middleware/ApplyContext.php
index 8e478532..4f902fbb 100644
--- a/src/Http/Middleware/ApplyContext.php
+++ b/src/Http/Middleware/ApplyContext.php
@@ -11,9 +11,6 @@ class ApplyContext
     /**
      * Handle an incoming request.
      *
-     * @param  Request  $request
-     * @param  Closure  $next
-     * @param $context
      * @return mixed
      */
     public function handle(Request $request, Closure $next, $context)