Skip to content

Commit 840e2bc

Browse files
committed
fix method call capitalization to match interface methods
1 parent 57eb4ec commit 840e2bc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Cartalyst/Sentry/Users/Eloquent/Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function findByCredentials(array $credentials)
145145
// Now check the hashed credentials match ours
146146
foreach ($hashedCredentials as $credential => $value)
147147
{
148-
if ( ! $this->hasher->checkHash($value, $user->{$credential}))
148+
if ( ! $this->hasher->checkhash($value, $user->{$credential}))
149149
{
150150
$message = "A user was found to match all plain text credentials however hashed credential [$credential] did not match.";
151151

src/Cartalyst/Sentry/Users/Eloquent/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ public function checkHash($string, $hashedString)
806806
throw new \RuntimeException("A hasher has not been provided for the user.");
807807
}
808808

809-
return static::$hasher->checkHash($string, $hashedString);
809+
return static::$hasher->checkhash($string, $hashedString);
810810
}
811811

812812
/**

src/Cartalyst/Sentry/Users/Kohana/Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function findByCredentials(array $credentials)
150150
// Now check the hashed credentials match ours
151151
foreach ($hashedCredentials as $credential => $value)
152152
{
153-
if ( ! $this->hasher->checkHash($value, $user->{$credential}))
153+
if ( ! $this->hasher->checkhash($value, $user->{$credential}))
154154
{
155155
$message = "A user was found to match all plain text credentials however hashed credential [$credential] did not match.";
156156

src/Cartalyst/Sentry/Users/Kohana/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ public function checkHash($string, $hashedString)
749749
throw new \RuntimeException("A hasher has not been provided for the user.");
750750
}
751751

752-
return static::$hasher->checkHash($string, $hashedString);
752+
return static::$hasher->checkhash($string, $hashedString);
753753
}
754754

755755
/**

0 commit comments

Comments
 (0)