Commit 4e87f1e8 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Made some of the contract methods static

parent a5f0c46b
......@@ -115,7 +115,7 @@ abstract class Auth {
* @param string $username The username to check
* @return bool Whether the username is in valid form.
*/
public function is_username_valid($username) {
public static function is_username_valid($username) {
return true;
}
......@@ -132,7 +132,7 @@ abstract class Auth {
* @param string $password The password to check
* @return bool Whether the username is in valid form.
*/
public function is_password_valid($password) {
public static function is_password_valid($password) {
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment