Passed
Push — master ( df4ed5...14d15a )
by Remco
21:23 queued 11:46
created

Reservation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 2 1
1
<?php
2
/**
3
 * Reservation
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2018 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay\Payments
9
 */
10
11
namespace Pronamic\WordPress\Pay\Gateways\Sisow;
12
13
/**
14
 * Title: Sisow reservation
15
 * Description:
16
 * Copyright: Copyright (c) 2005 - 2018
17
 * Company: Pronamic
18
 *
19
 * @author  Reüel van der Steege
20
 * @version 2.0.1
21
 * @since   2.0.1
22
 */
23
class Reservation {
24
	/**
25
	 * The status of the transaction
26
	 *
27
	 * @var string
28
	 */
29
	public $status;
30
31
	/**
32
	 * Create an string representation of this object
33
	 *
34
	 * @return string
35
	 */
36
	public function __toString() {
37
		return $this->status;
38
	}
39
}
40