PHPDocs missing breaks, removed unused var in common.php