MostActiveWatchersResponse::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 2
dl 0
loc 3
rs 10
ccs 0
cts 3
cp 0
crap 2
1
<?php
2
3
namespace Jalle19\StatusManager\Message\Response;
4
5
use Jalle19\StatusManager\Message\Request\MostActiveWatchersRequest;
6
7
/**
8
 * Class MostActiveWatchersResponse
9
 * @package   Jalle19\StatusManager\Message\Response
10
 * @copyright Copyright &copy; Sam Stenvall 2016-
11
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
12
 */
13
class MostActiveWatchersResponse extends StatisticsResponse
14
{
15
16
	/**
17
	 * MostActiveWatchersResponse constructor.
18
	 *
19
	 * @param MostActiveWatchersRequest $request
20
	 * @param array                     $mostActiveWatchers
21
	 */
22
	public function __construct(MostActiveWatchersRequest $request, array $mostActiveWatchers)
23
	{
24
		parent::__construct(self::TYPE_MOST_ACTIVE_WATCHERS_RESPONSE, $request, $mostActiveWatchers);
25
	}
26
27
}
28