More linting, fix PHPDoc style.

This commit is contained in:
jgen 2014-04-24 22:29:29 -04:00
parent daee99c1bc
commit 50686ac61e
3 changed files with 8 additions and 4 deletions

View file

@ -4,7 +4,8 @@ class ImageIOTheme extends Themelet {
* Display a link to delete an image
* (Added inline Javascript to confirm the deletion)
*
* @param $image_id The image to delete
* @param $image_id integer The image to delete
* @return string
*/
public function get_deleter_html(/*int*/ $image_id) {
global $config;
@ -22,7 +23,8 @@ class ImageIOTheme extends Themelet {
/**
* Display link to replace the image
*
* @param $image_id The image to replace
* @param $image_id integer The image to replace
* @return string
*/
public function get_replace_html(/*int*/ $image_id) {
$html = make_form(make_link("image/replace"))."

View file

@ -1,3 +1,5 @@
/*jshint bitwise:false, curly:true, eqeqeq:true, evil:true, forin:false, noarg:true, noempty:true, nonew:true, undef:false, strict:false, browser:true, jquery:true */
$(function() {
var blocked_tags = ($.cookie("ui-blocked-tags") || "").split(" ");
var needs_refresh = false;