0){ return [ 'attr_id' => $mateOne['attr_id'], 'type' => $mateOne['attr_add_type'], 'val' => $mateOne['attr_number'] ]; }else{ return []; } } }