Passed
Push — master ( 3c6756...8b3b37 )
by Michael
20:43 queued 12:59
created

CustomOp::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 2
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
namespace WideImage\Operation;
4
5
/**
6
 * @package Tests
7
 */
8
class CustomOp
9
{
10
	public static $args = null;
11
12
	public function execute()
13
	{
14
		static::$args = func_get_args();
15
16
		return static::$args[0]->copy();
17
	}
18
}
19