Completed
Push — master ( a09b33...c52c25 )
by Naveen
01:31 queued 35s
created
src/wordlift/no-editor-analysis/class-edit-screen-setting.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,15 +9,15 @@
 block discarded – undo
9 9
  */
10 10
 class Edit_Screen_Setting {
11 11
 
12
-	public function add_setting() {
13
-		add_filter( 'wl_admin_settings', array( $this, 'wl_admin_settings' ) );
14
-	}
12
+    public function add_setting() {
13
+        add_filter( 'wl_admin_settings', array( $this, 'wl_admin_settings' ) );
14
+    }
15 15
 
16
-	function wl_admin_settings( $settings ) {
17
-		$settings['analysis']['isNoEditorAnalysisActive'] = No_Editor_Analysis_Feature::can_no_editor_analysis_be_used( get_the_ID() );
16
+    function wl_admin_settings( $settings ) {
17
+        $settings['analysis']['isNoEditorAnalysisActive'] = No_Editor_Analysis_Feature::can_no_editor_analysis_be_used( get_the_ID() );
18 18
 
19
-		return $settings;
20
-	}
19
+        return $settings;
20
+    }
21 21
 
22 22
 
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 class Edit_Screen_Setting {
11 11
 
12 12
 	public function add_setting() {
13
-		add_filter( 'wl_admin_settings', array( $this, 'wl_admin_settings' ) );
13
+		add_filter('wl_admin_settings', array($this, 'wl_admin_settings'));
14 14
 	}
15 15
 
16
-	function wl_admin_settings( $settings ) {
17
-		$settings['analysis']['isNoEditorAnalysisActive'] = No_Editor_Analysis_Feature::can_no_editor_analysis_be_used( get_the_ID() );
16
+	function wl_admin_settings($settings) {
17
+		$settings['analysis']['isNoEditorAnalysisActive'] = No_Editor_Analysis_Feature::can_no_editor_analysis_be_used(get_the_ID());
18 18
 
19 19
 		return $settings;
20 20
 	}
Please login to merge, or discard this patch.