Skip to content

Commit

Permalink
lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nuritsha committed Sep 24, 2024
1 parent fc57dd2 commit 3e6ca82
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions modules/template-parts/classes/document-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,9 @@ public function get_css_wrapper_selector(): string {
return '.ehp-' . $this->get_main_id();
}

// protected static function get_editor_panel_categories(): array {
// return [ Module::HELLO_PLUS_EDITOR_CATEGORY_SLUG ];
// }

// TODO: which controls do we need?
protected function register_controls() {
parent::register_controls();

Post::register_style_controls( $this );

$this->update_control(
'section_page_style',
[
'label' => esc_html__( 'Style', 'elementor-pro' ),
]
);
}
// protected static function get_editor_panel_categories(): array {

Check warning on line 53 in modules/template-parts/classes/document-base.php

View workflow job for this annotation

GitHub Actions / Lint PHP files

This comment is 45% valid code; is this commented out code?

Check failure on line 53 in modules/template-parts/classes/document-base.php

View workflow job for this annotation

GitHub Actions / Lint PHP files

Spaces must be used for mid-line alignment; tabs are not allowed
// return [ Module::HELLO_PLUS_EDITOR_CATEGORY_SLUG ];

Check failure on line 54 in modules/template-parts/classes/document-base.php

View workflow job for this annotation

GitHub Actions / Lint PHP files

Spaces must be used for mid-line alignment; tabs are not allowed
// }

Check failure on line 55 in modules/template-parts/classes/document-base.php

View workflow job for this annotation

GitHub Actions / Lint PHP files

Spaces must be used for mid-line alignment; tabs are not allowed

protected function get_remote_library_config(): array {
$config = parent::get_remote_library_config();
Expand Down

0 comments on commit 3e6ca82

Please sign in to comment.