SMGoogleMaps3FormInput::getResourceModules()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * Google Maps v3 form input class.
5
 *
6
 * @since 1.0
7
 * @file SM_GoogleMaps3FormInput.php
8
 * @ingroup SemanticMaps
9
 *
10
 * @licence GNU GPL v2+
11
 * @author Jeroen De Dauw < [email protected] >
12
 */
13
class SMGoogleMaps3FormInput extends SMFormInput {
14
	
15
	/**
16
	 * @see SMFormInput::getResourceModules
17
	 * 
18
	 * @since 1.0
19
	 * 
20
	 * @return array of string
21
	 */
22
	protected function getResourceModules() {
23
		return array_merge( parent::getResourceModules(), [ 'ext.sm.fi.googlemaps3' ] );
24
	}	
25
	
26
}
27