more type hints

This commit is contained in:
Shish
2012-02-02 14:14:33 +00:00
parent 52ff412b38
commit cc8f1f35a5
10 changed files with 41 additions and 41 deletions

View File

@ -218,7 +218,7 @@ class Upload extends SimpleExtension {
}
// }}}
// do things {{{
private function can_upload($user) {
private function can_upload(User $user) {
global $config;
return ($config->get_bool("upload_anon") || !$user->is_anonymous());
}