diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Auth/DatabaseAuth.php | 2 | ||||
-rw-r--r-- | app/Auth/GithubAuth.php | 2 | ||||
-rw-r--r-- | app/Auth/GitlabAuth.php | 2 | ||||
-rw-r--r-- | app/Auth/GoogleAuth.php | 2 | ||||
-rw-r--r-- | app/Auth/RememberMeAuth.php | 2 | ||||
-rw-r--r-- | app/Auth/ReverseProxyAuth.php | 2 | ||||
-rw-r--r-- | app/Core/Ldap/Entries.php | 2 | ||||
-rw-r--r-- | app/Core/Mail/Transport/Mail.php | 2 | ||||
-rw-r--r-- | app/Core/Mail/Transport/Sendmail.php | 2 | ||||
-rw-r--r-- | app/Core/Mail/Transport/Smtp.php | 2 | ||||
-rw-r--r-- | app/Core/User/UserSession.php | 2 | ||||
-rw-r--r-- | app/Group/DatabaseBackendGroupProvider.php | 2 | ||||
-rw-r--r-- | app/Group/LdapBackendGroupProvider.php | 2 | ||||
-rw-r--r-- | app/Model/ProjectGroupRole.php | 6 |
14 files changed, 16 insertions, 16 deletions
diff --git a/app/Auth/DatabaseAuth.php b/app/Auth/DatabaseAuth.php index 727afaf3..69260fe7 100644 --- a/app/Auth/DatabaseAuth.php +++ b/app/Auth/DatabaseAuth.php @@ -90,7 +90,7 @@ class DatabaseAuth extends Base implements PasswordAuthenticationProviderInterfa * Get user object * * @access public - * @return null|\Kanboard\User\DatabaseUserProvider + * @return \Kanboard\User\DatabaseUserProvider */ public function getUser() { diff --git a/app/Auth/GithubAuth.php b/app/Auth/GithubAuth.php index 47da0413..a03c7158 100644 --- a/app/Auth/GithubAuth.php +++ b/app/Auth/GithubAuth.php @@ -84,7 +84,7 @@ class GithubAuth extends Base implements OAuthAuthenticationProviderInterface * Get user object * * @access public - * @return null|GithubUserProvider + * @return GithubUserProvider */ public function getUser() { diff --git a/app/Auth/GitlabAuth.php b/app/Auth/GitlabAuth.php index df6e0176..9e1ac4ef 100644 --- a/app/Auth/GitlabAuth.php +++ b/app/Auth/GitlabAuth.php @@ -84,7 +84,7 @@ class GitlabAuth extends Base implements OAuthAuthenticationProviderInterface * Get user object * * @access public - * @return null|GitlabUserProvider + * @return GitlabUserProvider */ public function getUser() { diff --git a/app/Auth/GoogleAuth.php b/app/Auth/GoogleAuth.php index 0dc1c62f..c4acfa0f 100644 --- a/app/Auth/GoogleAuth.php +++ b/app/Auth/GoogleAuth.php @@ -84,7 +84,7 @@ class GoogleAuth extends Base implements OAuthAuthenticationProviderInterface * Get user object * * @access public - * @return null|GoogleUserProvider + * @return GoogleUserProvider */ public function getUser() { diff --git a/app/Auth/RememberMeAuth.php b/app/Auth/RememberMeAuth.php index 02b7b9f6..5a0e48ec 100644 --- a/app/Auth/RememberMeAuth.php +++ b/app/Auth/RememberMeAuth.php @@ -66,7 +66,7 @@ class RememberMeAuth extends Base implements PreAuthenticationProviderInterface * Get user object * * @access public - * @return null|DatabaseUserProvider + * @return DatabaseUserProvider */ public function getUser() { diff --git a/app/Auth/ReverseProxyAuth.php b/app/Auth/ReverseProxyAuth.php index 8af7f0a2..06573edb 100644 --- a/app/Auth/ReverseProxyAuth.php +++ b/app/Auth/ReverseProxyAuth.php @@ -67,7 +67,7 @@ class ReverseProxyAuth extends Base implements PreAuthenticationProviderInterfac * Get user object * * @access public - * @return null|ReverseProxyUserProvider + * @return ReverseProxyUserProvider */ public function getUser() { diff --git a/app/Core/Ldap/Entries.php b/app/Core/Ldap/Entries.php index b0f78fa4..3487541f 100644 --- a/app/Core/Ldap/Entries.php +++ b/app/Core/Ldap/Entries.php @@ -33,7 +33,7 @@ class Entries * Get all entries * * @access public - * @return []Entry + * @return Entry[] */ public function getAll() { diff --git a/app/Core/Mail/Transport/Mail.php b/app/Core/Mail/Transport/Mail.php index 4d833f8f..aff3ee20 100644 --- a/app/Core/Mail/Transport/Mail.php +++ b/app/Core/Mail/Transport/Mail.php @@ -46,7 +46,7 @@ class Mail extends Base implements ClientInterface * Get SwiftMailer transport * * @access protected - * @return \Swift_Transport + * @return \Swift_Transport|\Swift_MailTransport|\Swift_SmtpTransport|\Swift_SendmailTransport */ protected function getTransport() { diff --git a/app/Core/Mail/Transport/Sendmail.php b/app/Core/Mail/Transport/Sendmail.php index 849e3385..039be705 100644 --- a/app/Core/Mail/Transport/Sendmail.php +++ b/app/Core/Mail/Transport/Sendmail.php @@ -16,7 +16,7 @@ class Sendmail extends Mail * Get SwiftMailer transport * * @access protected - * @return \Swift_Transport + * @return \Swift_Transport|\Swift_MailTransport|\Swift_SmtpTransport|\Swift_SendmailTransport */ protected function getTransport() { diff --git a/app/Core/Mail/Transport/Smtp.php b/app/Core/Mail/Transport/Smtp.php index 757408ea..66f0a3aa 100644 --- a/app/Core/Mail/Transport/Smtp.php +++ b/app/Core/Mail/Transport/Smtp.php @@ -16,7 +16,7 @@ class Smtp extends Mail * Get SwiftMailer transport * * @access protected - * @return \Swift_Transport + * @return \Swift_Transport|\Swift_MailTransport|\Swift_SmtpTransport|\Swift_SendmailTransport */ protected function getTransport() { diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php index d1e0bb93..534e5192 100644 --- a/app/Core/User/UserSession.php +++ b/app/Core/User/UserSession.php @@ -114,7 +114,7 @@ class UserSession extends Base * Get username * * @access public - * @return integer + * @return string */ public function getUsername() { diff --git a/app/Group/DatabaseBackendGroupProvider.php b/app/Group/DatabaseBackendGroupProvider.php index a53516a0..6dbaa43c 100644 --- a/app/Group/DatabaseBackendGroupProvider.php +++ b/app/Group/DatabaseBackendGroupProvider.php @@ -18,7 +18,7 @@ class DatabaseBackendGroupProvider extends Base implements GroupBackendProviderI * * @access public * @param string $input - * @return []DatabaseGroupProvider + * @return DatabaseGroupProvider[] */ public function find($input) { diff --git a/app/Group/LdapBackendGroupProvider.php b/app/Group/LdapBackendGroupProvider.php index 40273466..d65a9865 100644 --- a/app/Group/LdapBackendGroupProvider.php +++ b/app/Group/LdapBackendGroupProvider.php @@ -22,7 +22,7 @@ class LdapBackendGroupProvider extends Base implements GroupBackendProviderInter * * @access public * @param string $input - * @return []LdapGroupProvider + * @return LdapGroupProvider[] */ public function find($input) { diff --git a/app/Model/ProjectGroupRole.php b/app/Model/ProjectGroupRole.php index 87fdec10..2fe22ca6 100644 --- a/app/Model/ProjectGroupRole.php +++ b/app/Model/ProjectGroupRole.php @@ -172,9 +172,9 @@ class ProjectGroupRole extends Base foreach ($rows as $row) { $result = $this->db->table(self::TABLE)->save(array( - 'project_id' => $project_dst_id, - 'group_id' => $row['group_id'], - 'role' => $row['role'], + 'project_id' => $project_dst_id, + 'group_id' => $row['group_id'], + 'role' => $row['role'], )); if (! $result) { |