Code cleanup and realign.

This commit is contained in:
James Cole
2018-08-06 19:14:30 +02:00
parent f7eef25fed
commit 5908c0ce8c
188 changed files with 1019 additions and 1031 deletions

View File

@@ -61,7 +61,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property bool $isAdmin used in admin user controller.
* @property bool $has2FA used in admin user controller.
* @property array $prefs used in admin user controller.
* @property string password
* @property string password
* @property Collection roles
* @property string blocked_code
* @property bool blocked
@@ -216,7 +216,7 @@ class User extends Authenticatable
{
$bytes = random_bytes(16);
return (string)bin2hex($bytes);
return bin2hex($bytes);
}
/**