@@ -43,6 +43,9 @@ |
||
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); |
@@ -31,7 +31,6 @@ discard block |
||
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 |
||
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) |
@@ -141,7 +141,7 @@ discard block |
||
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 |
||
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) |