Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove @param void #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/ImpersonateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public function boot()
/**
* Register plugin blade directives.
*
* @param void
* @return void
*/
protected function registerBladeDirectives()
Expand Down Expand Up @@ -104,7 +103,6 @@ protected function registerBladeDirectives()
/**
* Register routes macro.
*
* @param void
* @return void
*/
protected function registerRoutesMacro()
Expand All @@ -120,7 +118,6 @@ protected function registerRoutesMacro()
}

/**
* @param void
* @return void
*/
protected function registerAuthDriver()
Expand Down Expand Up @@ -152,7 +149,6 @@ protected function registerAuthDriver()
/**
* Register plugin middleware.
*
* @param void
* @return void
*/
public function registerMiddleware()
Expand All @@ -163,7 +159,6 @@ public function registerMiddleware()
/**
* Merge config file.
*
* @param void
* @return void
*/
protected function mergeConfig()
Expand All @@ -176,7 +171,6 @@ protected function mergeConfig()
/**
* Publish config file.
*
* @param void
* @return void
*/
protected function publishConfig()
Expand Down
4 changes: 0 additions & 4 deletions src/Models/Impersonate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -21,7 +20,6 @@ public function canImpersonate()
/**
* Return true or false if the user can be impersonate.
*
* @param void
* @return bool
*/
public function canBeImpersonated()
Expand All @@ -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()
Expand All @@ -55,7 +52,6 @@ public function isImpersonated()
/**
* Leave the current impersonation.
*
* @param void
* @return bool
*/
public function leaveImpersonation()
Expand Down
1 change: 0 additions & 1 deletion tests/BladeDirectivesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ protected function makeView($view = 'impersonate', array $with = [])
}

/**
* @param void
* @return void
*/
protected function logout()
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
class TestCase extends \Orchestra\Testbench\TestCase
{
/**
* @param void
* @return void
*/
public function setUp(): void
Expand Down