Code Duplication    Length = 9-9 lines in 2 locations

includes/class-sensei-analysis-overview-list-table.php 2 locations

@@ 87-95 (lines=9) @@
84
	function get_sortable_columns() {
85
86
		switch( $this->type ) {
87
			case 'courses':
88
				$columns = array(
89
					'title' => array( 'title', false ),
90
					'students' => array( 'students', false ),
91
					'lessons' => array( 'lessons', false ),
92
					'completions' => array( 'completions', false ),
93
					'average_percent' => array( 'average_percent', false ),
94
				);
95
				break;
96
97
			case 'lessons':
98
				$columns = array(
@@ 97-105 (lines=9) @@
94
				);
95
				break;
96
97
			case 'lessons':
98
				$columns = array(
99
					'title' => array( 'title', false ),
100
					'course' => array( 'course', false ),
101
					'students' => array( 'students', false ),
102
					'completions' => array( 'completions', false ),
103
					'average_grade' => array( 'average_grade', false ),
104
				);
105
				break;
106
107
			case 'users':
108
			default: