Use PHP's ::class constant.

This commit is contained in:
David Molineus committed 2017-10-11 14:50:14 +02:00
1 parent 8c6f4c4291
commit f09929fae7
13 files changed
+36 -14

No files matched your search

+2 -2
View File
@@ -32,14 +32,14 @@ class PopupMapper extends AbstractMapper
*
* @var string
*/
protected static $definitionClass = 'Netzmacht\LeafletPHP\Definition\UI\Popup';
protected static $definitionClass = Popup::class;
/**
* The model class.
*
* @var string
*/
protected static $modelClass = 'Netzmacht\Contao\Leaflet\Model\PopupModel';
protected static $modelClass = PopupModel::class;
/**
* {@inheritdoc}