diff --git a/src/ImpersonateServiceProvider.php b/src/ImpersonateServiceProvider.php index 0082015..37fb5c7 100644 --- a/src/ImpersonateServiceProvider.php +++ b/src/ImpersonateServiceProvider.php @@ -66,7 +66,6 @@ public function boot() /** * Register plugin blade directives. * - * @param void * @return void */ protected function registerBladeDirectives() @@ -104,7 +103,6 @@ protected function registerBladeDirectives() /** * Register routes macro. * - * @param void * @return void */ protected function registerRoutesMacro() @@ -120,7 +118,6 @@ protected function registerRoutesMacro() } /** - * @param void * @return void */ protected function registerAuthDriver() @@ -152,7 +149,6 @@ protected function registerAuthDriver() /** * Register plugin middleware. * - * @param void * @return void */ public function registerMiddleware() @@ -163,7 +159,6 @@ public function registerMiddleware() /** * Merge config file. * - * @param void * @return void */ protected function mergeConfig() @@ -176,7 +171,6 @@ protected function mergeConfig() /** * Publish config file. * - * @param void * @return void */ protected function publishConfig() diff --git a/src/Models/Impersonate.php b/src/Models/Impersonate.php index eaa7985..325652b 100644 --- a/src/Models/Impersonate.php +++ b/src/Models/Impersonate.php @@ -10,7 +10,6 @@ trait Impersonate /** * Return true or false if the user can impersonate an other user. * - * @param void * @return bool */ public function canImpersonate() @@ -21,7 +20,6 @@ public function canImpersonate() /** * Return true or false if the user can be impersonate. * - * @param void * @return bool */ public function canBeImpersonated() @@ -44,7 +42,6 @@ public function impersonate(Model $user, $guardName = null) /** * Check if the current user is impersonated. * - * @param void * @return bool */ public function isImpersonated() @@ -55,7 +52,6 @@ public function isImpersonated() /** * Leave the current impersonation. * - * @param void * @return bool */ public function leaveImpersonation() diff --git a/tests/BladeDirectivesTest.php b/tests/BladeDirectivesTest.php index 0570b66..ab74a88 100644 --- a/tests/BladeDirectivesTest.php +++ b/tests/BladeDirectivesTest.php @@ -33,7 +33,6 @@ protected function makeView($view = 'impersonate', array $with = []) } /** - * @param void * @return void */ protected function logout() diff --git a/tests/TestCase.php b/tests/TestCase.php index 1013678..f530e3f 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -10,7 +10,6 @@ class TestCase extends \Orchestra\Testbench\TestCase { /** - * @param void * @return void */ public function setUp(): void