private function arrayUnique($array) { if (!is_array($array)) { return $array; } return array_unique($array); }