@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
22 | - * Load configs from app data |
|
23 | - */ |
|
22 | + * Load configs from app data |
|
23 | + */ |
|
24 | 24 | public function before() |
25 | 25 | { |
26 | 26 | foreach ($this->_config as $property => $value) { |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * Example of usage magic labels for future form helper usage |
|
35 | - */ |
|
34 | + * Example of usage magic labels for future form helper usage |
|
35 | + */ |
|
36 | 36 | public function labels() |
37 | 37 | { |
38 | 38 | return [ |
@@ -43,8 +43,8 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * Example of usage magic rules for future usage in condition $model->validate() |
|
47 | - */ |
|
46 | + * Example of usage magic rules for future usage in condition $model->validate() |
|
47 | + */ |
|
48 | 48 | public function rules() |
49 | 49 | { |
50 | 50 | return [ |
@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * Prepare model attributes from passed objects |
59 | 59 | * @throws ForbiddenException |
60 | - */ |
|
60 | + */ |
|
61 | 61 | public function before() |
62 | 62 | { |
63 | 63 | $this->title = Serialize::getDecodeLocale($this->_content->title); |
@@ -33,8 +33,8 @@ |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * Validation rules |
|
37 | - */ |
|
36 | + * Validation rules |
|
37 | + */ |
|
38 | 38 | public function rules() |
39 | 39 | { |
40 | 40 | return [ |
@@ -20,8 +20,8 @@ discard block |
||
20 | 20 | |
21 | 21 | |
22 | 22 | /** |
23 | - * Set post id based on post active record |
|
24 | - */ |
|
23 | + * Set post id based on post active record |
|
24 | + */ |
|
25 | 25 | public function before() |
26 | 26 | { |
27 | 27 | $this->id = $this->_post->id; |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | |
30 | 30 | |
31 | 31 | /** |
32 | - * Pseudo-rules, here is not required |
|
33 | - */ |
|
32 | + * Pseudo-rules, here is not required |
|
33 | + */ |
|
34 | 34 | public function rules() |
35 | 35 | { |
36 | 36 | return []; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | public $captcha; |
18 | 18 | |
19 | 19 | /** |
20 | - * Labels |
|
21 | - */ |
|
20 | + * Labels |
|
21 | + */ |
|
22 | 22 | public function labels() |
23 | 23 | { |
24 | 24 | return [ |
@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * Validation rules |
|
32 | - */ |
|
31 | + * Validation rules |
|
32 | + */ |
|
33 | 33 | public function rules() |
34 | 34 | { |
35 | 35 | return [ |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | const COMPRESS_QUALITY = 90; |
17 | 17 | |
18 | 18 | /** |
19 | - * Example of usage magic labels for future form helper usage |
|
20 | - */ |
|
19 | + * Example of usage magic labels for future form helper usage |
|
20 | + */ |
|
21 | 21 | public function labels() |
22 | 22 | { |
23 | 23 | return [ |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
29 | - * Example of usage magic rules for future usage in condition $model->validate() |
|
30 | - */ |
|
29 | + * Example of usage magic rules for future usage in condition $model->validate() |
|
30 | + */ |
|
31 | 31 | public function rules() |
32 | 32 | { |
33 | 33 | return [ |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | public $captcha; |
18 | 18 | |
19 | 19 | /** |
20 | - * Labels |
|
21 | - */ |
|
20 | + * Labels |
|
21 | + */ |
|
22 | 22 | public function labels() |
23 | 23 | { |
24 | 24 | return [ |
@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * Validation rules |
|
32 | - */ |
|
31 | + * Validation rules |
|
32 | + */ |
|
33 | 33 | public function rules() |
34 | 34 | { |
35 | 35 | return [ |
@@ -20,8 +20,8 @@ |
||
20 | 20 | public $chmodCheck = []; |
21 | 21 | |
22 | 22 | /** |
23 | - * Get default server information and prepare chmod info |
|
24 | - */ |
|
23 | + * Get default server information and prepare chmod info |
|
24 | + */ |
|
25 | 25 | public function before() |
26 | 26 | { |
27 | 27 | $this->phpVersion = phpversion(); |
@@ -33,8 +33,8 @@ |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * Validation rules |
|
37 | - */ |
|
36 | + * Validation rules |
|
37 | + */ |
|
38 | 38 | public function rules() |
39 | 39 | { |
40 | 40 | return [ |