forked from Snck3rs/contao-leaflet-maps
Fix code style.
This commit is contained in:
@@ -52,7 +52,7 @@ class BuildDefinitionEvent extends Event
|
||||
* @param \Model $model The definition model.
|
||||
* @param LatLngBounds $bounds Optional bounds where elements should be in.
|
||||
*/
|
||||
public function __construct(Definition $definition = null, \Model $model, LatLngBounds $bounds = null)
|
||||
public function __construct(Definition $definition, \Model $model, LatLngBounds $bounds = null)
|
||||
{
|
||||
$this->definition = $definition;
|
||||
$this->model = $model;
|
||||
|
||||
@@ -15,7 +15,7 @@ use Netzmacht\Contao\Leaflet\Mapper\DefinitionMapper;
|
||||
use Symfony\Component\EventDispatcher\Event;
|
||||
|
||||
/**
|
||||
* Class InitializeDefinitionMapperEvent
|
||||
* Class InitializeDefinitionMapperEvent is emitted when the definition mapper is created.
|
||||
*
|
||||
* @package Netzmacht\Contao\Leaflet\Event
|
||||
*/
|
||||
@@ -24,6 +24,8 @@ class InitializeDefinitionMapperEvent extends Event
|
||||
const NAME = 'leaflet.boot.initialize-definition-mapper';
|
||||
|
||||
/**
|
||||
* The definitino mapper.
|
||||
*
|
||||
* @var DefinitionMapper
|
||||
*/
|
||||
private $definitionMapper;
|
||||
|
||||
Reference in New Issue
Block a user