Code Duplication    Length = 8-8 lines in 2 locations

src/PostType/Archive.php 1 location

@@ 61-68 (lines=8) @@
58
	 * @return void
59
	 * @callback add_menu_page
60
	 */
61
	public function renderPage()
62
	{
63
		$this->render( 'archive/index', [
64
			'columns' => get_current_screen()->get_columns(),
65
			'id' => $this->id,
66
			'title' => __( 'Archive Page', 'pollux' ),
67
		]);
68
	}
69
70
	/**
71
	 * @return void

src/Settings/Settings.php 1 location

@@ 176-183 (lines=8) @@
173
	 * @return void
174
	 * @callback add_menu_page
175
	 */
176
	public function renderPage()
177
	{
178
		$this->render( 'settings/index', [
179
			'columns' => get_current_screen()->get_columns(),
180
			'id' => $this->id,
181
			'title' => __( 'Site Settings', 'pollux' ),
182
		]);
183
	}
184
185
	/**
186
	 * @return void