Update TitleManager.php

Fix notices