summaryrefslogtreecommitdiff
path: root/app/Core/Security
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-04 21:11:12 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-04 21:11:12 -0500
commita7f3e3bec50762f2083f70672a0ba3db533fc8bb (patch)
treec8e9961cb610042acf32e88096abc5fcb3eac4dd /app/Core/Security
parent38082096909424c23032224365c90aa5189eb6f0 (diff)
PHPdoc cleanup
Diffstat (limited to 'app/Core/Security')
-rw-r--r--app/Core/Security/AccessMap.php10
-rw-r--r--app/Core/Security/OAuthAuthenticationProviderInterface.php4
-rw-r--r--app/Core/Security/PasswordAuthenticationProviderInterface.php2
-rw-r--r--app/Core/Security/PreAuthenticationProviderInterface.php2
4 files changed, 9 insertions, 9 deletions
diff --git a/app/Core/Security/AccessMap.php b/app/Core/Security/AccessMap.php
index f34c4b00..2431a921 100644
--- a/app/Core/Security/AccessMap.php
+++ b/app/Core/Security/AccessMap.php
@@ -39,7 +39,7 @@ class AccessMap
*
* @access public
* @param string $role
- * @return Acl
+ * @return AccessMap
*/
public function setDefaultRole($role)
{
@@ -53,7 +53,7 @@ class AccessMap
* @access public
* @param string $role
* @param array $subroles
- * @return Acl
+ * @return AccessMap
*/
public function setRoleHierarchy($role, array $subroles)
{
@@ -113,7 +113,7 @@ class AccessMap
* @param string $controller Controller class name
* @param mixed $methods List of method name or just one method
* @param string $role Lowest role required
- * @return Acl
+ * @return AccessMap
*/
public function add($controller, $methods, $role)
{
@@ -135,7 +135,7 @@ class AccessMap
* @param string $controller
* @param string $method
* @param string $role
- * @return Acl
+ * @return AccessMap
*/
private function addRule($controller, $method, $role)
{
@@ -157,7 +157,7 @@ class AccessMap
* @access public
* @param string $controller
* @param string $method
- * @return boolean
+ * @return array
*/
public function getRoles($controller, $method)
{
diff --git a/app/Core/Security/OAuthAuthenticationProviderInterface.php b/app/Core/Security/OAuthAuthenticationProviderInterface.php
index c32339e0..3092672d 100644
--- a/app/Core/Security/OAuthAuthenticationProviderInterface.php
+++ b/app/Core/Security/OAuthAuthenticationProviderInterface.php
@@ -14,7 +14,7 @@ interface OAuthAuthenticationProviderInterface extends AuthenticationProviderInt
* Get user object
*
* @access public
- * @return UserProviderInterface
+ * @return \Kanboard\Core\User\UserProviderInterface
*/
public function getUser();
@@ -31,7 +31,7 @@ interface OAuthAuthenticationProviderInterface extends AuthenticationProviderInt
* Get configured OAuth2 service
*
* @access public
- * @return Kanboard\Core\Http\OAuth2
+ * @return \Kanboard\Core\Http\OAuth2
*/
public function getService();
diff --git a/app/Core/Security/PasswordAuthenticationProviderInterface.php b/app/Core/Security/PasswordAuthenticationProviderInterface.php
index 918a4aec..c2304546 100644
--- a/app/Core/Security/PasswordAuthenticationProviderInterface.php
+++ b/app/Core/Security/PasswordAuthenticationProviderInterface.php
@@ -14,7 +14,7 @@ interface PasswordAuthenticationProviderInterface extends AuthenticationProvider
* Get user object
*
* @access public
- * @return UserProviderInterface
+ * @return \Kanboard\Core\User\UserProviderInterface
*/
public function getUser();
diff --git a/app/Core/Security/PreAuthenticationProviderInterface.php b/app/Core/Security/PreAuthenticationProviderInterface.php
index 391e8d0f..c13b06c5 100644
--- a/app/Core/Security/PreAuthenticationProviderInterface.php
+++ b/app/Core/Security/PreAuthenticationProviderInterface.php
@@ -14,7 +14,7 @@ interface PreAuthenticationProviderInterface extends AuthenticationProviderInter
* Get user object
*
* @access public
- * @return UserProviderInterface
+ * @return \Kanboard\Core\User\UserProviderInterface
*/
public function getUser();
}