HttpGetRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBody() 0 3 1
1
<?php
2
/**
3
 * @file      HttpGetRequest.php
4
 *
5
 * PHP version 8.0+
6
 *
7
 * @author    Yancharuk Alexander <alex at itvault dot info>
8
 * @copyright © 2012-2021 Alexander Yancharuk <alex at itvault at info>
9
 * @date      2017-01-18 10:43
10
 * @license   The BSD 3-Clause License
11
 *            <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>
12
 */
13
14
namespace Veles\Request;
15
16
/**
17
 * Class   HttpGetRequest
18
 *
19
 * @author Yancharuk Alexander <alex at itvault at info>
20
 */
21
class HttpGetRequest extends HttpPostRequest
22
{
23
	/**
24
	 * Getting http-request body
25
	 *
26
	 * @return array
27
	 */
28 3
	public function getBody()
29
	{
30 3
		return $_GET;
31
	}
32
}
33