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

Reservation::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
c 0
b 0
f 0
ccs 0
cts 2
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
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