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

@@ -2,6 +2,7 @@
/**
* Name: Bookmarks
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Allow users to bookmark searches
*/
@@ -59,7 +60,7 @@ class Bookmarks extends Extension {
else {return array();}
}
private function add_bookmark($url, $title) {
private function add_bookmark(/*string*/ $url, /*string*/ $title) {
global $database;
$sql = "INSERT INTO bookmark(owner_id, url, title) VALUES (?, ?, ?)";
$database->Execute($sql, array($user->id, $url, $title));