@@ -9,7 +9,7 @@ |
||
9 | 9 | { |
10 | 10 | protected $list; |
11 | 11 | |
12 | - public static function for(FormValuesConsumerList $list) |
|
12 | + public static function for (FormValuesConsumerList $list) |
|
13 | 13 | { |
14 | 14 | $action = new static(); |
15 | 15 | $action->list = $list; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $this->list = new FormValuesConsumerList($form, $consumer); |
21 | 21 | } |
22 | 22 | |
23 | - public static function for($form, $consumer) |
|
23 | + public static function for ($form, $consumer) |
|
24 | 24 | { |
25 | 25 | return new static($form, $consumer); |
26 | 26 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | |
51 | 51 | return [ |
52 | 52 | 'where' => [ |
53 | - ['id_form = ?', $this->list->getForm()->id,], |
|
54 | - ['consumer = ?', $consumer->getManager()->getMorphName(),], |
|
55 | - ['consumer_id = ?', $consumer->id,], |
|
53 | + ['id_form = ?', $this->list->getForm()->id, ], |
|
54 | + ['consumer = ?', $consumer->getManager()->getMorphName(), ], |
|
55 | + ['consumer_id = ?', $consumer->id, ], |
|
56 | 56 | ], |
57 | 57 | ]; |
58 | 58 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | public function bootFormTrait() |
42 | 42 | { |
43 | - $this->addCast('metadata', AsMetadataObject::class.':json'); |
|
43 | + $this->addCast('metadata', AsMetadataObject::class . ':json'); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | public function setConsumerClass($consumerClass) |