src/GoogleMaps.php
Showing 2 of 2 total issues
The method __construct has a boolean flag argument $extension, which is a certain sign of a Single Responsibility Principle violation. Open
Open
public function __construct($extension = false)
- Read upRead up
- Exclude checks
Avoid unused private methods such as 'extMarkerClusterer'. Open
Open
private function extMarkerClusterer() { FrontendAsset::add('https://cdnjs.cloudflare.com/ajax/libs/js-marker-clusterer/1.0.0/markerclusterer_compiled.js'); }
- Read upRead up
- Exclude checks