Unused local variable $configObject throws warn