public function addEmployee($employee) { } else { $this->workers[] = $employee; } }
Standard input is empty
public function addEmployee($employee) { if (is_array($employee)) { $this->workers = array_merge($this->workers, $employee); } else { $this->workers[] = $employee; } }