Passed
Push — develop ( e448bf...f6f336 )
by Paul
03:05
created

ArchiveMetaManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 10
rs 10
c 1
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOption() 0 4 1
1
<?php
2
3
namespace GeminiLabs\Pollux\MetaBox;
4
5
use GeminiLabs\Pollux\MetaBox\SiteMetaManager;
6
use GeminiLabs\Pollux\PostType\Archive;
7
8
class ArchiveMetaManager extends SiteMetaManager
9
{
10
	/**
11
	 * @return array
12
	 */
13
	protected function getOption()
14
	{
15
		return get_option( apply_filters( 'pollux/archive/option', Archive::ID ), [] );
16
	}
17
}
18