Completed
Push — master ( e55059...ea0818 )
by Adrian
02:34
created
src/Entity/GenericEntityHydrator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function hydrate(array $attributes = [])
33 33
     {
34 34
         $attributes = $this->castingManager
35
-                           ->castArray($attributes, $this->mapper->getCasts());
35
+                            ->castArray($attributes, $this->mapper->getCasts());
36 36
         $attributes = Arr::renameKeys($attributes, $this->mapper->getColumnAttributeMap());
37 37
         $class      = $this->mapper->getEntityClass() ?? GenericEntity::class;
38 38
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             array_flip($this->mapper->getColumnAttributeMap())
47 47
         );
48 48
         $data = $this->castingManager
49
-                     ->castArrayForDb($data, $this->mapper->getCasts());
49
+                        ->castArrayForDb($data, $this->mapper->getCasts());
50 50
 
51 51
         return Arr::only($data, $this->mapper->getColumns());
52 52
     }
Please login to merge, or discard this patch.