Completed
Push — master ( b07d3c...864716 )
by Dmitriy
03:01
created
src/EntityEvent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/EntityEventManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.