From: Matthias Schmidt Date: Sat, 25 May 2013 16:41:41 +0000 (+0200) Subject: Adds missing method documentation X-Git-Tag: 2.0.0_Beta_1~55 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b466935af88d006ff6abdb94d3fa23061cf22c9;p=GitHub%2FWoltLab%2FWCF.git Adds missing method documentation --- diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php index 94af789625..3d6404cb7c 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php @@ -277,10 +277,18 @@ class UserAvatarAction extends AbstractDatabaseObjectAction { return $filename; } + /** + * Validates the 'getCropDialog' action. + */ public function validateGetCropDialog() { $this->avatar = $this->getSingleObject(); } + /** + * Returns the data for the dialog to crop an avatar. + * + * @return array + */ public function getCropDialog() { return array( 'cropX' => $this->avatar->cropX,