Skip to content

Commit

Permalink
StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
hiendv committed Oct 4, 2016
1 parent 410c7f0 commit 8543ea7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Auth/AuthenticationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class AuthenticationException extends Exception
{
/**
* Array of the given guards
* Array of the given guards.
*
* @var array
*/
Expand All @@ -24,7 +24,7 @@ public function __construct($message = 'Unauthenticated.')
}

/**
* Set the given guards
* Set the given guards.
*
* @param array $guards
* @return $this
Expand All @@ -37,7 +37,7 @@ public function setGuards(array $guards)
}

/**
* Get the given guards
* Get the given guards.
*
* @return array
*/
Expand Down
4 changes: 4 additions & 0 deletions tests/Auth/AuthenticateMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ public function testDefaultUnauthenticatedThrowsWithGuards()
$this->authenticate('default');
} catch (AuthenticationException $e) {
$this->assertContains('default', $e->getGuards());

return;
}

return $this->fail();
}

Expand Down Expand Up @@ -94,8 +96,10 @@ public function testMultipleDriversUnauthenticatedThrowsWithGuards()
$this->authenticate(...$expectedGuards);
} catch (AuthenticationException $e) {
$this->assertEquals($expectedGuards, $e->getGuards());

return;
}

return $this->fail();
}

Expand Down

0 comments on commit 8543ea7

Please sign in to comment.