Passed
Push — master ( 5204b5...bf9fba )
by Alice
37s
created

SampleClass::callMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Wonderland\Container\Example\Yml;
4
5
/**
6
 * Class SampleClass
7
 * @package Wonderland\Container\Example\Yml
8
 * @author Alice Praud <[email protected]>
9
 */
10
class SampleClass
11
{
12
	private $first;
13
	private $second;
14
15
	public function __construct($param1, $param2)
16
	{
17
		$this->first = $param1;
18
		$this->second = $param2;
19
	}
20
21
	public function callMethod($param1, $param2)
22
	{
23
		$this->first = $param1;
24
		$this->second = $param2;
25
	}
26
}
27