PHPDoc all the things!

This commit is contained in:
jgen
2014-04-28 18:22:57 -04:00
parent 2a9f76d2f0
commit b3f9925839
8 changed files with 191 additions and 47 deletions

View File

@@ -139,6 +139,10 @@ class ReportImage extends Extension {
}
}
/**
* @param Image $image
* @return array
*/
public function get_reporters(Image $image) {
global $database;
@@ -150,6 +154,9 @@ class ReportImage extends Extension {
", array("image_id" => $image->id));
}
/**
* @return array
*/
public function get_reported_images() {
global $database;
@@ -174,6 +181,9 @@ class ReportImage extends Extension {
return $reports;
}
/**
* @return mixed
*/
public function count_reported_images() {
global $database;