| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function updateCMSFields(FieldList $fields) |
||
| 24 | { |
||
| 25 | parent::updateCMSFields($fields); |
||
| 26 | |||
| 27 | $fields->addFieldsToTab('Root.GoogleMaps', [ |
||
| 28 | TextField::create( |
||
| 29 | 'MapsBrowserKey', |
||
| 30 | _t(self::class . 'BROWSERKEY', 'Google API Browser key for address search') |
||
| 31 | ), |
||
| 32 | TextField::create( |
||
| 33 | 'MapsServerKey', |
||
| 34 | _t(self::class . 'SERVERKEY', 'Google API Server key for geolocation') |
||
| 35 | ), |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
This check marks private properties in classes that are never used. Those properties can be removed.