mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-04 05:48:36 +01:00
Use PHP's ::class constant.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
namespace Netzmacht\Contao\Leaflet\Mapper\Style;
|
||||
|
||||
use Netzmacht\Contao\Leaflet\Mapper\AbstractTypeMapper;
|
||||
use Netzmacht\Contao\Leaflet\Model\StyleModel;
|
||||
|
||||
/**
|
||||
* Class AbstractStyleMapper is the base mapper for the style model.
|
||||
@@ -26,5 +27,5 @@ abstract class AbstractStyleMapper extends AbstractTypeMapper
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $modelClass = 'Netzmacht\Contao\Leaflet\Model\StyleModel';
|
||||
protected static $modelClass = StyleModel::class;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user