Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy authored and StyleCIBot committed Sep 16, 2018
1 parent edc207f commit 321ac4e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions app/Http/Controllers/Auth/ActivateController.php
Expand Up @@ -74,7 +74,7 @@ public static function getActivationRoute()
}

/**
* Redirect the user after activation with admin logic
* Redirect the user after activation with admin logic.
*
* @param $user The user
* @param currentRoute The current route
Expand All @@ -101,7 +101,7 @@ public static function activeRedirect($user, $currentRoute)
}

/**
* Initial Activation View
* Initial Activation View.
*
* @return Redirect
*/
Expand All @@ -125,7 +125,7 @@ public function initial()
}

/**
* Check if actication is required
* Check if actication is required.
*
* @return View
*/
Expand Down Expand Up @@ -168,9 +168,9 @@ public function activationRequired()
}

/**
* Activate a valid user with a token
* Activate a valid user with a token.
*
* @param string $token The token
* @param string $token The token
*
* @return Redirect
*/
Expand Down Expand Up @@ -225,7 +225,7 @@ public function activate($token)
}

/**
* Resend Activation
* Resend Activation.
*
* @return Redirect
*/
Expand Down
10 changes: 5 additions & 5 deletions app/Logic/Activation/ActivationRepository.php
Expand Up @@ -15,7 +15,7 @@ class ActivationRepository
*
* @param \App\Models\User $user
*
* @return boolean or void
* @return bool or void
*/
public function createTokenAndSendEmail(User $user)
{
Expand Down Expand Up @@ -44,7 +44,7 @@ public function createTokenAndSendEmail(User $user)
/**
* Creates a new activation token.
*
* @param \App\Models\User $user
* @param \App\Models\User $user
*
* @return \App\Models\Activation $activation
*/
Expand All @@ -63,16 +63,16 @@ public function createNewActivationToken(User $user)
/**
* Sends a new activation email.
*
* @param \App\Models\User $user The user
* @param string $token The token
* @param \App\Models\User $user The user
* @param string $token The token
*/
public function sendNewActivationEmail(User $user, $token)
{
$user->notify(new SendActivationEmail($token));
}

/**
* Method to removed expired activations
* Method to removed expired activations.
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/PublicPagesTest.php
Expand Up @@ -7,7 +7,7 @@
class PublicPagesTest extends TestCase
{
/**
* Test the public pages
* Test the public pages.
*
* @return void
*/
Expand Down

0 comments on commit 321ac4e

Please sign in to comment.