Replace string class names with the ::class attribute.

This commit is contained in:
David Molineus committed 2017-10-17 13:51:09 +02:00
1 parent c2fd00e6a0
commit 59df74c3f9
23 files changed
+45 -27

No files matched your search

+3 -1
View File
@@ -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.