@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | protected function factoryEntityCollection($data) |
42 | 42 | { |
43 | - return $this->factoryNeighborObject($this->getEntityName() . 'Collection', $data); |
|
43 | + return $this->factoryNeighborObject($this->getEntityName().'Collection', $data); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public function update(EntityInterface $entity, EntityInterface $existent) |
62 | 62 | { |
63 | - $text = 'Chamada a Atualização de entity ' . $this->entity; |
|
63 | + $text = 'Chamada a Atualização de entity '.$this->entity; |
|
64 | 64 | |
65 | 65 | return $this->log('debug', $text, [ |
66 | 66 | 'entity' => $entity, |
@@ -46,9 +46,9 @@ |
||
46 | 46 | 'Price', |
47 | 47 | //'Status' |
48 | 48 | ] as $key) { |
49 | - $getter = 'get' . $key; |
|
49 | + $getter = 'get'.$key; |
|
50 | 50 | if ($this->attributesDiff($entity->$getter(), $existent->$getter())) { |
51 | - $method = 'update' . $key; |
|
51 | + $method = 'update'.$key; |
|
52 | 52 | $updated[$key] = $this->$method($entity); |
53 | 53 | } |
54 | 54 | } |