@@ -42,9 +42,9 @@ discard block |
||
42 | 42 | |
43 | 43 | protected function getFormValueRecord($model) |
44 | 44 | { |
45 | - $values = FindValuesByFormConsumer::for($this->getItem()->getFormBuilder(), $model)->handle(); |
|
45 | + $values = FindValuesByFormConsumer::for ($this->getItem()->getFormBuilder(), $model)->handle(); |
|
46 | 46 | |
47 | - return FindOrCreateFormValueFromList::for($values)->fieldValue($this->getItem()); |
|
47 | + return FindOrCreateFormValueFromList::for ($values)->fieldValue($this->getItem()); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -102,6 +102,6 @@ discard block |
||
102 | 102 | */ |
103 | 103 | public function generateFormName(): string |
104 | 104 | { |
105 | - return $this->getName().'-'.sha1($this->getItem()->id ?? ''); |
|
105 | + return $this->getName() . '-' . sha1($this->getItem()->id ?? ''); |
|
106 | 106 | } |
107 | 107 | } |