Fix E_NOTICE raised by dev toolbar

I know there is another PR out for this issue. This also fixes it. Right now the bundle as-is is unusable with the current version of Symfony due to the toolbar constantly alerting issues.