Browse Source

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

microsub
Dustin Wilson 7 years ago
parent
commit
34c83e059d
  1. 2
      vendor/JKingWeb/NewsSync/User/Driver.php

2
vendor/JKingWeb/NewsSync/User/Driver.php

@ -17,7 +17,7 @@ Interface Driver {
static function driverName(): string;
function driverFunctions(string $function = null);
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 userAdd(string $user, string $password = null): bool;
function userRemove(string $user): bool;

Loading…
Cancel
Save