Completed
Push — main ( 987b6d...0c8bfc )
by
unknown
04:06
created

SimpleFactoryTrait   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A factory() 0 3 1
A f() 0 3 1
1
<?php
2
3
namespace Addwiki\Mediawiki\Api\Client\Request;
4
5
trait SimpleFactoryTrait {
6
7
	public static function factory(): self {
8
		return new static();
9
	}
10
11
	public static function f(): self {
12
		return new static();
13
	}
14
15
}
16