VE-940: Removed unused PHP variable and improved code formatting