@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\WebGuyActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\WebGuyActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\WebGuyActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\WebGuyActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\WebGuyActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -72,7 +72,7 @@ |
||
72 | 72 | |
73 | 73 | // render view |
74 | 74 | return App::$View->render($this->tpl, [ |
75 | - 'records' => $query |
|
75 | + 'records' => $query |
|
76 | 76 | ]); |
77 | 77 | } |
78 | 78 |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | App::$Session->getFlashBag()->add('error', __('User is never exist or password is incorrect!')); |
55 | 55 | // initialize fail event |
56 | 56 | App::$Event->run(static::EVENT_USER_LOGIN_FAIL, [ |
57 | - 'model' => $loginForm |
|
57 | + 'model' => $loginForm |
|
58 | 58 | ]); |
59 | 59 | } |
60 | 60 | |
@@ -114,14 +114,14 @@ discard block |
||
114 | 114 | if ($registerForm->tryRegister($configs['registrationType'] === 1)) { |
115 | 115 | // initialize succes signup event |
116 | 116 | App::$Event->run(static::EVENT_USER_REGISTER_SUCCESS, [ |
117 | - 'model' => $registerForm |
|
117 | + 'model' => $registerForm |
|
118 | 118 | ]); |
119 | 119 | // send notification of successful registering |
120 | 120 | App::$Session->getFlashBag()->add('success', __('Your account is registered. You must confirm account via email')); |
121 | 121 | } else { |
122 | 122 | // init fail signup event |
123 | 123 | App::$Event->run(static::EVENT_USER_REGISTER_FAIL, [ |
124 | - 'model' => $registerForm |
|
124 | + 'model' => $registerForm |
|
125 | 125 | ]); |
126 | 126 | App::$Session->getFlashBag()->add('error', __('Login or email is always used on website')); |
127 | 127 | } |
@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * Set default values from database record |
|
48 | - */ |
|
47 | + * Set default values from database record |
|
48 | + */ |
|
49 | 49 | public function before() |
50 | 50 | { |
51 | 51 | // set data from db record |
@@ -85,9 +85,9 @@ discard block |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
88 | - * Form labels |
|
89 | - * @return array |
|
90 | - */ |
|
88 | + * Form labels |
|
89 | + * @return array |
|
90 | + */ |
|
91 | 91 | public function labels() |
92 | 92 | { |
93 | 93 | return [ |
@@ -100,9 +100,9 @@ discard block |
||
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
103 | - * Content update form validation rules |
|
104 | - * @return array |
|
105 | - */ |
|
103 | + * Content update form validation rules |
|
104 | + * @return array |
|
105 | + */ |
|
106 | 106 | public function rules() |
107 | 107 | { |
108 | 108 | $r = [ |
@@ -20,8 +20,8 @@ discard block |
||
20 | 20 | const COMPRESS_QUALITY = 90; |
21 | 21 | |
22 | 22 | /** |
23 | - * Form text helper data with translation |
|
24 | - */ |
|
23 | + * Form text helper data with translation |
|
24 | + */ |
|
25 | 25 | public function labels() |
26 | 26 | { |
27 | 27 | return [ |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * Validation rules for avatar uploading |
|
34 | - */ |
|
33 | + * Validation rules for avatar uploading |
|
34 | + */ |
|
35 | 35 | public function rules() |
36 | 36 | { |
37 | 37 | return [ |