mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-03-01 01:28:18 +01:00
Use PHP's ::class constant.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
namespace Netzmacht\Contao\Leaflet\Mapper\Control;
|
||||
|
||||
use Netzmacht\Contao\Leaflet\Mapper\AbstractTypeMapper;
|
||||
use Netzmacht\Contao\Leaflet\Model\ControlModel;
|
||||
|
||||
/**
|
||||
* Class AbstractControlMapper is the base mapper for the control model.
|
||||
@@ -26,7 +27,7 @@ class AbstractControlMapper extends AbstractTypeMapper
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $modelClass = 'Netzmacht\Contao\Leaflet\Model\ControlModel';
|
||||
protected static $modelClass = ControlModel::class;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
||||
Reference in New Issue
Block a user