Completed
Push — cln ( 863127 )
by Jeroen De
28:10 queued 22:04
created

GeoJsonContentHandler   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 __construct() 0 3 1
A getContentClass() 0 3 1
1
<?php
2
3
namespace Maps\MediaWiki\Content;
4
5
class GeoJsonContentHandler extends \JsonContentHandler {
6
7
	public function __construct( $modelId = GeoJsonContent::CONTENT_MODEL_ID ) {
8
		parent::__construct( $modelId );
9
	}
10
11
	protected function getContentClass() {
12
		return GeoJsonContent::class;
13
	}
14
15
}