@@ -21,12 +21,12 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * @var array |
| 23 | 23 | */ |
| 24 | - protected $data = []; |
|
| 24 | + protected $data = [ ]; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @var array |
| 28 | 28 | */ |
| 29 | - protected $errors = []; |
|
| 29 | + protected $errors = [ ]; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * EntityEvent constructor. |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * @param EntityInterface $entity |
| 35 | 35 | * @param array $data |
| 36 | 36 | */ |
| 37 | - public function __construct($name, EntityInterface $entity = null, array $data = []) { |
|
| 37 | + public function __construct($name, EntityInterface $entity = null, array $data = [ ]) { |
|
| 38 | 38 | $this->name = $name; |
| 39 | 39 | $this->entity = $entity; |
| 40 | 40 | $this->data = $data; |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * @param array $data |
| 47 | 47 | * @return EntityEvent |
| 48 | 48 | */ |
| 49 | - public function createEvent($event, EntityInterface $entity = null, array $data = []) |
|
| 49 | + public function createEvent($event, EntityInterface $entity = null, array $data = [ ]) |
|
| 50 | 50 | { |
| 51 | 51 | return new EntityEvent($event, $entity, $data); |
| 52 | 52 | } |