Use PHP's ::class constant.

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

View File

@@ -46,7 +46,7 @@ array_insert(
),
'leaflet_about' => array
(
'callback' => 'Netzmacht\Contao\Leaflet\Backend\About',
'callback' => Netzmacht\Contao\Leaflet\Backend\About::class,
'icon' => 'bundles/netzmachtcontaoleaflet/img/about.png',
'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/about.css',
)