1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Changed User\Driver->authorize to return a type-hint of bool

This commit is contained in:
Dustin Wilson 2017-02-11 10:36:17 -06:00
parent 2c134c76dc
commit 34c83e059d

View file

@ -17,7 +17,7 @@ Interface Driver {
static function driverName(): string; static function driverName(): string;
function driverFunctions(string $function = null); function driverFunctions(string $function = null);
function auth(string $user, string $password): bool; function auth(string $user, string $password): bool;
function authorize(string $affectedUser, string $action); function authorize(string $affectedUser, string $action): bool;
function userExists(string $user): bool; function userExists(string $user): bool;
function userAdd(string $user, string $password = null): bool; function userAdd(string $user, string $password = null): bool;
function userRemove(string $user): bool; function userRemove(string $user): bool;