More type hints!

This commit is contained in:
green-ponies (jgen)
2012-02-09 23:04:37 -05:00
parent 0b26eba141
commit 30eb5ddd8b
31 changed files with 66 additions and 57 deletions

View File

@@ -21,7 +21,7 @@ class LinkImage extends Extension {
$config->set_default_string("ext_link-img_text-link_format", '$title - $id ($ext $size $filesize)');
}
private function hostify($str) {
private function hostify(/*string*/ $str) {
$str = str_replace(" ", "%20", $str);
if(strpos($str, "ttp://") > 0) {
return $str;