diff options
author | Arnold Daniels <arnold@jasny.net> | 2014-11-12 01:35:11 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2014-11-12 01:35:11 +0100 |
commit | 76aa7b9b29f0296ac98e686af6c0591932ec433a (patch) | |
tree | dab8d897edd132eb5eecf6cd349fa0ba425bf907 | |
parent | 49f89577990fe3dabed96384a17cd9bcf2557dfa (diff) | |
download | auth-76aa7b9b29f0296ac98e686af6c0591932ec433a.zip auth-76aa7b9b29f0296ac98e686af6c0591932ec433a.tar.gz auth-76aa7b9b29f0296ac98e686af6c0591932ec433a.tar.bz2 |
Make Auth::fetchForConfirmation() static
-rw-r--r-- | src/Jasny/Auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jasny/Auth.php b/src/Jasny/Auth.php index 0e21830..8fbaec1 100644 --- a/src/Jasny/Auth.php +++ b/src/Jasny/Auth.php @@ -191,7 +191,7 @@ abstract class Auth * @parma string $hash confirmation hash * @return User */ - public function fetchForConfirmation($hash) + public static function fetchForConfirmation($hash) { $id = base_convert(substr($hash, 10), 36, 10); if (static::generateConfirmationHash($id) != $hash) return null; // invalid hash |