summaryrefslogtreecommitdiff
path: root/library/WT/Auth.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-18 16:58:32 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-18 16:58:32 +0100
commitc3977ece291ed2fa2ccd0a2e0ad91780a62131c1 (patch)
tree521321db8a5a6d691d7df16bab5e65d1cc837767 /library/WT/Auth.php
parentd2f5f6d2a2dc8e2be0a4da0006c6a73f51af8443 (diff)
downloadwebtrees-c3977ece291ed2fa2ccd0a2e0ad91780a62131c1.tar.gz
webtrees-c3977ece291ed2fa2ccd0a2e0ad91780a62131c1.tar.bz2
webtrees-c3977ece291ed2fa2ccd0a2e0ad91780a62131c1.zip
PHPDoc
Diffstat (limited to 'library/WT/Auth.php')
-rw-r--r--library/WT/Auth.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/WT/Auth.php b/library/WT/Auth.php
index b87df4fd52..e2960504af 100644
--- a/library/WT/Auth.php
+++ b/library/WT/Auth.php
@@ -28,7 +28,7 @@ class Auth {
/**
* Are we currently logged in?
*
- * @return bool
+ * @return boolean
*/
public static function check() {
return Auth::id() !== null;
@@ -39,7 +39,7 @@ class Auth {
*
* @param User|null $user
*
- * @return bool
+ * @return boolean
*/
public static function isAdmin(User $user = null) {
if ($user === null) {
@@ -55,7 +55,7 @@ class Auth {
* @param WT_Tree|null $tree
* @param User|null $user
*
- * @return bool
+ * @return boolean
*/
public static function isManager(WT_Tree $tree = null, User $user = null) {
global $WT_TREE;
@@ -77,7 +77,7 @@ class Auth {
* @param WT_Tree|null $tree
* @param User|null $user
*
- * @return bool
+ * @return boolean
*/
public static function isModerator(WT_Tree $tree = null, User $user = null) {
global $WT_TREE;
@@ -100,7 +100,7 @@ class Auth {
* @param User|null $user
*
*
- * @return bool
+ * @return boolean
*/
public static function isEditor(WT_Tree $tree = null, User $user = null) {
global $WT_TREE;
@@ -122,7 +122,7 @@ class Auth {
* @param WT_Tree|null $tree
* @param User|null $user
*
- * @return bool
+ * @return boolean
*/
public static function isMember(WT_Tree $tree = null, User $user=null) {
global $WT_TREE;