@@ -8,7 +8,7 @@ |
||
8 | 8 | */ |
9 | 9 | class RulePersist |
10 | 10 | { |
11 | - /** |
|
11 | + /** |
|
12 | 12 | * @Enum({"STORE", "UPDATE", "*"}) |
13 | 13 | */ |
14 | 14 | public $value = '*'; |
@@ -62,8 +62,8 @@ |
||
62 | 62 | public function findRemoved($id, bool $abort = true): EntityContract |
63 | 63 | { |
64 | 64 | $entity = $this->findAllRemoved() |
65 | - ->andWhere('id', '=', $id) |
|
66 | - ->getOneResult(); |
|
65 | + ->andWhere('id', '=', $id) |
|
66 | + ->getOneResult(); |
|
67 | 67 | |
68 | 68 | enableSoftDeleteableFilter(); |
69 | 69 |
@@ -6,14 +6,14 @@ |
||
6 | 6 | { |
7 | 7 | public function toArray(array $options = []): array |
8 | 8 | { |
9 | - $reflectionProperty = new ReflectionProperty(get_called_class(), $key); |
|
9 | + $reflectionProperty = new ReflectionProperty(get_called_class(), $key); |
|
10 | 10 | $annotationReader = new AnnotationReader(); |
11 | 11 | $propertyAnnotations = $annotationReader->getPropertyAnnotations($reflectionProperty); |
12 | 12 | |
13 | 13 | $array = []; |
14 | 14 | |
15 | 15 | $classMetadata = $this->getRepository() |
16 | - ->getClassMetadata(); |
|
16 | + ->getClassMetadata(); |
|
17 | 17 | |
18 | 18 | foreach ($this->getFillable() as $key) { |
19 | 19 | $metaDataKey = $classMetadata->hasField($key) ? $classMetadata->getFieldMapping($key) : null; |