mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-05-31 20:08:02 +02:00
Replace string class names with the ::class attribute.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
|
||||
namespace Netzmacht\Contao\Leaflet\Mapper\Vector;
|
||||
|
||||
use Netzmacht\LeafletPHP\Definition\Vector\CircleMarker;
|
||||
|
||||
/**
|
||||
* Class CircleMarkerMapper maps the database model to the circle marker definition.
|
||||
*
|
||||
@@ -24,7 +26,7 @@ class CircleMarkerMapper extends CircleMapper
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $definitionClass = 'Netzmacht\LeafletPHP\Definition\Vector\CircleMarker';
|
||||
protected static $definitionClass = CircleMarker::class;
|
||||
|
||||
/**
|
||||
* Layer type.
|
||||
|
||||
Reference in New Issue
Block a user