@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function register(Container $dic) |
15 | 15 | { |
16 | 16 | |
17 | - $dic['Profiles.Config'] = function( $dic ) { |
|
17 | + $dic['Profiles.Config'] = function($dic) { |
|
18 | 18 | $fieldconfig = [ |
19 | 19 | 'required' => [], |
20 | 20 | 'optional' => [] |
@@ -35,14 +35,14 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @return StdClass |
37 | 37 | */ |
38 | - $dic['Profiles.Login'] = function( $dic ) { |
|
38 | + $dic['Profiles.Login'] = function($dic) { |
|
39 | 39 | return $dic['Profiles.Config']['login']; |
40 | 40 | }; |
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @return array |
44 | 44 | */ |
45 | - $dic['Profiles.Login.required'] = function( $dic ) { |
|
45 | + $dic['Profiles.Login.required'] = function($dic) { |
|
46 | 46 | return $dic['Profiles.Login']['required']; |
47 | 47 | }; |
48 | 48 | |
@@ -51,20 +51,20 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @return StdClass |
53 | 53 | */ |
54 | - $dic['Profiles.ResetPassword'] = function( $dic ) { |
|
54 | + $dic['Profiles.ResetPassword'] = function($dic) { |
|
55 | 55 | return $dic['Profiles.Config']['reset_password']; |
56 | 56 | }; |
57 | 57 | |
58 | 58 | /** |
59 | 59 | * @return array |
60 | 60 | */ |
61 | - $dic['Profiles.ResetPassword.required'] = function( $dic ) { |
|
61 | + $dic['Profiles.ResetPassword.required'] = function($dic) { |
|
62 | 62 | return $dic['Profiles.ResetPassword']['required']; |
63 | 63 | }; |
64 | 64 | /** |
65 | 65 | * @return array |
66 | 66 | */ |
67 | - $dic['Profiles.ResetPassword.optional'] = function( $dic ) { |
|
67 | + $dic['Profiles.ResetPassword.optional'] = function($dic) { |
|
68 | 68 | return $dic['Profiles.ResetPassword']['optional']; |
69 | 69 | }; |
70 | 70 | |
@@ -74,21 +74,21 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * @return StdClass |
76 | 76 | */ |
77 | - $dic['Profiles.Register'] = function( $dic ) { |
|
77 | + $dic['Profiles.Register'] = function($dic) { |
|
78 | 78 | return $dic['Profiles.Config']['register']; |
79 | 79 | }; |
80 | 80 | |
81 | 81 | /** |
82 | 82 | * @return array |
83 | 83 | */ |
84 | - $dic['Profiles.Register.required'] = function( $dic ) { |
|
84 | + $dic['Profiles.Register.required'] = function($dic) { |
|
85 | 85 | return $dic['Profiles.Register']['required']; |
86 | 86 | }; |
87 | 87 | |
88 | 88 | /** |
89 | 89 | * @return array |
90 | 90 | */ |
91 | - $dic['Profiles.Register.optional'] = function( $dic ) { |
|
91 | + $dic['Profiles.Register.optional'] = function($dic) { |
|
92 | 92 | return $dic['Profiles.Register']['optional']; |
93 | 93 | }; |
94 | 94 | |
@@ -97,21 +97,21 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * @return StdClass |
99 | 99 | */ |
100 | - $dic['Profiles.Signup'] = function( $dic ) { |
|
100 | + $dic['Profiles.Signup'] = function($dic) { |
|
101 | 101 | return $dic['Profiles.Config']['signup']; |
102 | 102 | }; |
103 | 103 | |
104 | 104 | /** |
105 | 105 | * @return array |
106 | 106 | */ |
107 | - $dic['Profiles.Signup.required'] = function( $dic ) { |
|
107 | + $dic['Profiles.Signup.required'] = function($dic) { |
|
108 | 108 | return $dic['Profiles.Signup']['required']; |
109 | 109 | }; |
110 | 110 | |
111 | 111 | /** |
112 | 112 | * @return array |
113 | 113 | */ |
114 | - $dic['Profiles.Signup.optional'] = function( $dic ) { |
|
114 | + $dic['Profiles.Signup.optional'] = function($dic) { |
|
115 | 115 | return $dic['Profiles.Signup']['optional']; |
116 | 116 | }; |
117 | 117 | |
@@ -121,20 +121,20 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * @return StdClass |
123 | 123 | */ |
124 | - $dic['Profiles.ChangePassword'] = function( $dic ) { |
|
124 | + $dic['Profiles.ChangePassword'] = function($dic) { |
|
125 | 125 | return $dic['Profiles.Config']['change_password']; |
126 | 126 | }; |
127 | 127 | |
128 | 128 | /** |
129 | 129 | * @return array |
130 | 130 | */ |
131 | - $dic['Profiles.ChangePassword.required'] = function( $dic ) { |
|
131 | + $dic['Profiles.ChangePassword.required'] = function($dic) { |
|
132 | 132 | return $dic['Profiles.ChangePassword']['required']; |
133 | 133 | }; |
134 | 134 | /** |
135 | 135 | * @return array |
136 | 136 | */ |
137 | - $dic['Profiles.ChangePassword.optional'] = function( $dic ) { |
|
137 | + $dic['Profiles.ChangePassword.optional'] = function($dic) { |
|
138 | 138 | return $dic['Profiles.ChangePassword']['optional']; |
139 | 139 | }; |
140 | 140 | |
@@ -145,21 +145,21 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * @return StdClass |
147 | 147 | */ |
148 | - $dic['Profiles.EditProfile'] = function( $dic ) { |
|
148 | + $dic['Profiles.EditProfile'] = function($dic) { |
|
149 | 149 | return $dic['Profiles.Config']['edit_profile']; |
150 | 150 | }; |
151 | 151 | |
152 | 152 | /** |
153 | 153 | * @return array |
154 | 154 | */ |
155 | - $dic['Profiles.EditProfile.required'] = function( $dic ) { |
|
155 | + $dic['Profiles.EditProfile.required'] = function($dic) { |
|
156 | 156 | return $dic['Profiles.EditProfile']['required']; |
157 | 157 | }; |
158 | 158 | |
159 | 159 | /** |
160 | 160 | * @return array |
161 | 161 | */ |
162 | - $dic['Profiles.EditProfile.optional'] = function( $dic ) { |
|
162 | + $dic['Profiles.EditProfile.optional'] = function($dic) { |
|
163 | 163 | return $dic['Profiles.EditProfile']['optional']; |
164 | 164 | }; |
165 | 165 |