PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Services/FormBuilder/GroupSetterProxy.php +34 -30 3.6.42 → 6.2.15 View file →
@@ -3,37 +3,41 @@
3 3 namespace FluentForm\App\Services\FormBuilder;
4 4
5 5 class GroupSetterProxy
6 6 {
7 - /**
8 - * Element group
9 - * @var string
10 - */
11 - protected $group = null;
7 + /**
8 + * Element group
9 + *
10 + * @var string
11 + */
12 + protected $group = null;
12 13
13 - /**
14 - * FluentForm\App\Services\FormBuilder\Components
15 - * @var object
16 - */
17 - protected $collection = null;
14 + /**
15 + * Form builder components collection
16 + *
17 + * @var \FluentForm\App\Services\FormBuilder\Components
18 + */
19 + protected $collection = null;
18 20
19 - public function __construct($collection, $group)
20 - {
21 - $this->group = $group;
22 - $this->collection = $collection;
23 - }
21 + public function __construct($collection, $group)
22 + {
23 + $this->group = $group;
24 + $this->collection = $collection;
25 + }
24 26
25 - /**
26 - * Dynamic call method
27 - * @param string $method
28 - * @param array $params
29 - * @return FluentForm\App\Services\FormBuilder\Components
30 - */
31 - public function __call($method, $params)
32 - {
33 - call_user_func_array([
34 - $this->collection, $method
35 - ], array_merge($params, [$this->group]));
36 -
37 - return $this->collection;
38 - }
39 -}
27 + /**
28 + * Dynamic call method
29 + *
30 + * @param string $method
31 + * @param array $params
32 + *
33 + * @return \FluentForm\App\Services\FormBuilder\Components
34 + */
35 + public function __call($method, $params)
36 + {
37 + call_user_func_array([
38 + $this->collection, $method,
39 + ], array_merge($params, [$this->group]));
40 +
41 + return $this->collection;
42 + }
43 +}