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

SimpleFactoryTrait::factory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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