More PHP Doc comments.

This commit is contained in:
jgen
2014-04-29 17:45:13 -04:00
parent 2bf4c667a7
commit a58bdbdc62
11 changed files with 153 additions and 36 deletions

View File

@ -104,11 +104,15 @@ class RotateImage extends Extension {
// Private functions
/* ----------------------------- */
/*
This function could be made much smaller by using the ImageReplaceEvent
ie: Pretend that we are replacing the image with a rotated copy.
*/
/**
* This function could be made much smaller by using the ImageReplaceEvent
* ie: Pretend that we are replacing the image with a rotated copy.
*
* @param int $image_id
* @param int $deg
* @throws ImageRotateException
*/
private function rotate_image(/*int*/ $image_id, /*int*/ $deg) {
global $config, $user, $page, $database;