|  | @@ 471-478 (lines=8) @@ | 
                                                            
                                    | 468 |  | 					} | 
                                                            
                                    | 469 |  | 				} | 
                                                            
                                    | 470 |  |  | 
                                                            
                                    | 471 |  | 				if ( isset( $type['children'] ) ) { | 
                                                            
                                    | 472 |  | 					$children = array(); | 
                                                            
                                    | 473 |  | 					foreach ( (array) $value as $k => $child ) { | 
                                                            
                                    | 474 |  | 						$this->cast_and_filter_item( $children, $type['children'], $k, $child, array(), $for_output ); | 
                                                            
                                    | 475 |  | 					} | 
                                                            
                                    | 476 |  | 					$return[ $key ] = (array) $children; | 
                                                            
                                    | 477 |  | 					break; | 
                                                            
                                    | 478 |  | 				} | 
                                                            
                                    | 479 |  |  | 
                                                            
                                    | 480 |  | 				$return[ $key ] = (array) $value; | 
                                                            
                                    | 481 |  | 				break; | 
                                                                                
                                |  | @@ 511-518 (lines=8) @@ | 
                                                            
                                    | 508 |  | 					} | 
                                                            
                                    | 509 |  | 				} | 
                                                            
                                    | 510 |  |  | 
                                                            
                                    | 511 |  | 				if ( isset( $type['children'] ) ) { | 
                                                            
                                    | 512 |  | 					$children = array(); | 
                                                            
                                    | 513 |  | 					foreach ( (array) $value as $k => $child ) { | 
                                                            
                                    | 514 |  | 						$this->cast_and_filter_item( $children, $type['children'], $k, $child, array(), $for_output ); | 
                                                            
                                    | 515 |  | 					} | 
                                                            
                                    | 516 |  | 					$return[ $key ] = (object) $children; | 
                                                            
                                    | 517 |  | 					break; | 
                                                            
                                    | 518 |  | 				} | 
                                                            
                                    | 519 |  |  | 
                                                            
                                    | 520 |  | 				if ( isset( $type['subtype'] ) ) { | 
                                                            
                                    | 521 |  | 					return $this->cast_and_filter_item( $return, $type['subtype'], $key, $value, $types, $for_output ); |