Add missing @throws to docblocks
Santize page_id in SQL
Cast return value as bool in page_exists function
Fix parse error
Don't return anything from page link add/remove methods