Completed
Branch users (0e1b94)
by Hugo
02:37
created
app/controllers/UsersController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     	}
44 44
     }
45 45
     
46
+    /**
47
+     * @param integer $typeUser
48
+     */
46 49
     public function loadAclAction($typeUser) {
47 50
     	$acl = new AclList();
48 51
     	$acl->setDefaultAction(Phalcon\Acl::DENY);
Please login to merge, or discard this patch.
app/models/TypeUser.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Method to set the value of field objet
33 33
      *
34
-     * @param string $objet
35 34
      * @return $this
36 35
      */
37 36
     public function setLibelle($libelle)
@@ -94,7 +93,7 @@  discard block
 block discarded – undo
94 93
     /**
95 94
      * Allows to query the first record that match the specified conditions
96 95
      *
97
-     * @param mixed $parameters
96
+     * @param string $parameters
98 97
      * @return TypeUser
99 98
      */
100 99
     public static function findFirst($parameters = null)
Please login to merge, or discard this patch.
app/models/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * Returns the value of field role
143 143
      *
144
-     * @return string
144
+     * @return integer
145 145
      */
146 146
     public function getRole()
147 147
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     /**
194 194
      * Allows to query the first record that match the specified conditions
195 195
      *
196
-     * @param mixed $parameters
196
+     * @param string $parameters
197 197
      * @return User
198 198
      */
199 199
     public static function findFirst($parameters = null)
Please login to merge, or discard this patch.