mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 22:56:00 +02:00
Replace string class names with the ::class attribute.
This commit is contained in:
23 files changed
+45
-27
No files matched your search
@@ -15,6 +15,7 @@ namespace Netzmacht\Contao\Leaflet\Mapper\Vector;
|
||||
use Contao\Model;
|
||||
use Netzmacht\Contao\Leaflet\Mapper\DefinitionMapper;
|
||||
use Netzmacht\Contao\Leaflet\Request\Request;
|
||||
use Netzmacht\LeafletPHP\Definition\Vector\Rectangle;
|
||||
use Netzmacht\LeafletPHP\Value\LatLng;
|
||||
use Netzmacht\LeafletPHP\Value\LatLngBounds;
|
||||
|
||||
@@ -30,7 +31,7 @@ class RectangleMapper extends AbstractVectorMapper
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $definitionClass = 'Netzmacht\LeafletPHP\Definition\Vector\Rectangle';
|
||||
protected static $definitionClass = Rectangle::class;
|
||||
|
||||
/**
|
||||
* Layer type.
|
||||
|
||||
Reference in new issue
Block a user