| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | public function renderFields( $id )  | 
            ||
| 17 | 	{ | 
            ||
| 18 | $fields = $this->getSettingFields( $this->normalizeSettingPath( $id ));  | 
            ||
| 19 | $rows = '';  | 
            ||
| 20 | 		foreach( $fields as $name => $field ) { | 
            ||
| 21 | $field = wp_parse_args( $field, ['name' => $name] );  | 
            ||
| 22 | $rows.= (new Field( $field ))->build();  | 
            ||
| 23 | }  | 
            ||
| 24 | glsr( Template::class )->render( 'pages/settings/'.$id, [  | 
            ||
| 25 | 'context' => [  | 
            ||
| 26 | 'rows' => $rows,  | 
            ||
| 27 | ],  | 
            ||
| 28 | ]);  | 
            ||
| 50 |