Fixed php error and removed some spaces
Corrected integer type