Removed unused local variable, tab added, phpdoc tags fixed