Test Setup Failed
Push — feature/code_refactoring ( 66b2b5...806945 )
by Alessandro
03:09 queued 59s
created
src/Controller/Component/UserPermissionsComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 * Initialization to get controller variable
49 49
 *
50 50
 * @param array $rules Array of rules for permissions.
51
-* @return string '0' if user / group doesn't have permission, 1 if has permission
51
+* @return null|boolean '0' if user / group doesn't have permission, 1 if has permission
52 52
 */
53 53
     public function allow ($rules) {
54 54
     	$user_id = $this->session->read('Auth.User.id');
Please login to merge, or discard this patch.