@@ -21,17 +21,17 @@ 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 $validData = []; |
|
| 29 | + protected $validData = [ ]; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @var array |
| 33 | 33 | */ |
| 34 | - protected $errors = []; |
|
| 34 | + protected $errors = [ ]; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * EntityEvent constructor. |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * @param EntityInterface $entity |
| 40 | 40 | * @param array $data |
| 41 | 41 | */ |
| 42 | - public function __construct($name, EntityInterface $entity = null, array $data = []) { |
|
| 42 | + public function __construct($name, EntityInterface $entity = null, array $data = [ ]) { |
|
| 43 | 43 | $this->name = $name; |
| 44 | 44 | $this->entity = $entity; |
| 45 | 45 | $this->data = $data; |