| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Elementor; |
| 3 | 3 | |
| 4 | 4 | if ( ! defined( 'ABSPATH' ) ) { |
| 5 | - exit; // Exit if accessed directly. | |
| 5 | + exit; // Exit if accessed directly | |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Elementor sub controls stack. |
| @@ -43,12 +43,12 @@ | ||
| 43 | 43 | * |
| 44 | 44 | * Initializing the base class by setting parent stack. |
| 45 | 45 | * |
| 46 | 46 | * @access public |
| 47 | - * @param Controls_Stack $element_parent | |
| 47 | + * @param Controls_Stack $parent | |
| 48 | 48 | */ |
| 49 | - public function __construct( $element_parent ) { | |
| 50 | - $this->parent = $element_parent; | |
| 49 | + public function __construct( $parent ) { | |
| 50 | + $this->parent = $parent; | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * Get control ID. |
| @@ -124,8 +124,9 @@ | ||
| 124 | 124 | * |
| 125 | 125 | * @param string $group_name Group control name. |
| 126 | 126 | * @param array $args Group control arguments. Default is an empty array. |
| 127 | 127 | * @param array $options |
| 128 | + * | |
| 128 | 129 | */ |
| 129 | 130 | public function add_group_control( $group_name, $args, $options = [] ) { |
| 130 | 131 | $args['name'] = $this->get_control_id( $args['name'] ); |
| 131 | 132 | $this->parent->add_group_control( $group_name, $args, $options ); |
| @@ -182,8 +183,9 @@ | ||
| 182 | 183 | * |
| 183 | 184 | * @param string $id Section ID. |
| 184 | 185 | * @param array $args Section arguments. |
| 185 | 186 | */ |
| 187 | + | |
| 186 | 188 | public function start_controls_section( $id, $args = [] ) { |
| 187 | 189 | $this->parent->start_controls_section( $this->get_control_id( $id ), $args ); |
| 188 | 190 | } |
| 189 | 191 | |