| Total Complexity | 2 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Kirki_Sections_Nested_Section extends WP_Customize_Section { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The parent section. |
||
| 19 | * |
||
| 20 | * @access public |
||
| 21 | * @since 3.0.0 |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $section; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The section type. |
||
| 28 | * |
||
| 29 | * @access public |
||
| 30 | * @since 3.0.0 |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $type = 'kirki-nested'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Gather the parameters passed to client JavaScript via JSON. |
||
| 37 | * |
||
| 38 | * @access public |
||
| 39 | * @since 3.0.0 |
||
| 40 | * @return array The array to be exported to the client as JSON. |
||
| 41 | */ |
||
| 42 | public function json() { |
||
| 68 |
For a function calls that spawns multiple lines, the coding style suggests to split arguments to separate lines like this: