@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | /** |
15 | 15 | * @param array $data |
16 | 16 | */ |
17 | - public function __construct(array $data = []) |
|
17 | + public function __construct(array $data = [ ]) |
|
18 | 18 | { |
19 | 19 | $this->populate($data); |
20 | 20 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * @param array $properties |
32 | 32 | * @return array |
33 | 33 | */ |
34 | - public function extract(array $properties = []) |
|
34 | + public function extract(array $properties = [ ]) |
|
35 | 35 | { |
36 | 36 | $state = get_object_vars($this); |
37 | 37 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param array $array |
49 | 49 | * @return $this |
50 | 50 | */ |
51 | - public function populate(array $array = []) |
|
51 | + public function populate(array $array = [ ]) |
|
52 | 52 | { |
53 | 53 | $state = get_object_vars($this); |
54 | 54 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @var array |
9 | 9 | */ |
10 | - private $errors = []; |
|
10 | + private $errors = [ ]; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * @param array $errors |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param array $filter |
52 | 52 | * @return EntityInterface[]|null |
53 | 53 | */ |
54 | - public function deleteAll(array $filter = []) |
|
54 | + public function deleteAll(array $filter = [ ]) |
|
55 | 55 | { |
56 | 56 | $criteria = $this->repository->createCriteria($filter); |
57 | 57 | $entities = $this->repository->findMany($criteria); |