Fix code style.

This commit is contained in:
David Molineus
2015-01-12 19:03:29 +01:00
parent 74c786c24b
commit 037c6c907d
77 changed files with 1068 additions and 398 deletions

View File

@@ -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;

View File

@@ -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;