below_header   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 16
rs 10
ccs 4
cts 4
cp 1
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A get_category() 0 3 1
A get_id() 0 3 1
1
<?php
2
/**
3
 *
4
 * Advertisement management. An extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2017 phpBB Limited <https://www.phpbb.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace phpbb\ads\location\type;
12
13
class below_header extends base
14
{
15
	/**
16
	 * {@inheritDoc}
17
	 */
18 26
	public function get_id()
19
	{
20 26
		return 'below_header';
21
	}
22
23
	/**
24
	 * {@inheritDoc}
25
	 */
26 26
	public function get_category()
27
	{
28 26
		return self::CAT_TOP_OF_PAGE;
29
	}
30
}
31