Skip to content

Commit e3391f8

Browse files
authored
Merge pull request #74 from DirectoryTree/analysis-d0Y59J
Apply fixes from StyleCI
2 parents 0176f39 + 1eef87b commit e3391f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Auth/ListensForLdapBindFailure.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function ldapBindFailed($errorMessage, $diagnosticMessage = null)
3737
case $this->causedByLostConnection($errorMessage):
3838
$this->throwLoginValidationException($errorMessage);
3939
break;
40-
case $this->causedByInvalidCredentials($errorMessage);
40+
case $this->causedByInvalidCredentials($errorMessage):
4141
// We'll bypass any invalid LDAP credential errors and let
4242
// the login controller handle it. This is so proper
4343
// translation can be done on the validation error.
@@ -74,7 +74,7 @@ protected function throwLoginValidationException($message)
7474
*/
7575
protected function causedByInvalidCredentials($errorMessage)
7676
{
77-
return $this->errorContainsMessage($errorMessage, "Invalid credentials");
77+
return $this->errorContainsMessage($errorMessage, 'Invalid credentials');
7878
}
7979

8080
/**

src/LdapAuthServiceProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ public function boot()
7676
}
7777

7878
/**
79-
*
80-
*
8179
* @return void
8280
*/
8381
protected function registerLoginControllerListener()

0 commit comments

Comments
 (0)