Replace string class names with the ::class attribute.

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

View File

@@ -12,6 +12,8 @@
namespace Netzmacht\Contao\Leaflet\Mapper\Control;
use Netzmacht\LeafletPHP\Plugins\FullScreen\FullScreenControl;
/**
* Class FullscreenControlMapper.
*
@@ -24,7 +26,7 @@ class FullscreenControlMapper extends AbstractControlMapper
*
* @var string
*/
protected static $definitionClass = 'Netzmacht\LeafletPHP\Plugins\FullScreen\FullScreenControl';
protected static $definitionClass = FullScreenControl::class;
/**
* Layer type.