@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @param PermissionFormBuilder $builder |
| 23 | 23 | * @param AddonCollection $addons |
| 24 | - * @param Translator $translator |
|
| 25 | 24 | * @param Repository $config |
| 26 | 25 | */ |
| 27 | 26 | public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config) |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | * Touch a user's last activity and IP. |
| 103 | 103 | * |
| 104 | 104 | * @param UserInterface $user |
| 105 | - * @return bool |
|
| 105 | + * @return boolean|null |
|
| 106 | 106 | */ |
| 107 | 107 | public function touchLastActivity(UserInterface $user) |
| 108 | 108 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param PermissionFormBuilder $builder |
| 22 | 22 | * @param AddonCollection $addons |
| 23 | - * @param Translator $translator |
|
| 24 | 23 | * @param Repository $config |
| 25 | 24 | */ |
| 26 | 25 | public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config) |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * |
| 186 | 186 | * @param $permission |
| 187 | 187 | * @param bool $checkRoles |
| 188 | - * @return mixed |
|
| 188 | + * @return boolean |
|
| 189 | 189 | */ |
| 190 | 190 | public function hasPermission($permission, $checkRoles = true) |
| 191 | 191 | { |