Completed
Pull Request — master (#35)
by Raí
12:03 queued 07:27
created
Bludata/Doctrine/ORM/Traits/ToArrayTrait.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Bludata\Doctrine\ORM\Traits;
4 4
 
5
-trait ToArrayTrait
6
-{
5
+trait ToArrayTrait {
7 6
     public function toArray(array $options = []): array
8 7
     {
9 8
         $reflectionProperty = new ReflectionProperty(get_called_class(), $key);
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Annotations/RulePersist.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
  * @Annotation
7 7
  * @Target({"PROPERTY"})
8 8
  */
9
-class RulePersist
10
-{
9
+class RulePersist {
11 10
     /**
12 11
      * @Enum({"STORE", "UPDATE", "*"})
13 12
      */
Please login to merge, or discard this patch.