@@ -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(); |
@@ -27,8 +27,8 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * Load configs from app data |
|
31 | - */ |
|
30 | + * Load configs from app data |
|
31 | + */ |
|
32 | 32 | public function before() |
33 | 33 | { |
34 | 34 | if ($this->_config === null) { |
@@ -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(): array |
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(): array |
107 | 107 | { |
108 | 108 | $r = [ |
@@ -50,8 +50,8 @@ |
||
50 | 50 | public $trustedProxy; |
51 | 51 | |
52 | 52 | /** |
53 | - * Set property values from configurations |
|
54 | - */ |
|
53 | + * Set property values from configurations |
|
54 | + */ |
|
55 | 55 | public function before() |
56 | 56 | { |
57 | 57 | $properties = App::$Properties->getAll(); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | // render view output |
37 | 37 | return $this->view->render('index', [ |
38 | - 'model' => $model |
|
38 | + 'model' => $model |
|
39 | 39 | ]); |
40 | 40 | } |
41 | 41 | } |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php return [ |
2 | - 'instances' => [ |
|
3 | - 'Apps\Controller\Front\Content::buildSitemapSchedule' => 3600, |
|
4 | - 'Apps\Controller\Front\Profile::buildSitemapSchedule' => 10800, |
|
5 | - 'Apps\Controller\Front\Profile::cleanupTablesSchedule' => 86400 |
|
6 | - ] |
|
2 | + 'instances' => [ |
|
3 | + 'Apps\Controller\Front\Content::buildSitemapSchedule' => 3600, |
|
4 | + 'Apps\Controller\Front\Profile::buildSitemapSchedule' => 10800, |
|
5 | + 'Apps\Controller\Front\Profile::cleanupTablesSchedule' => 86400 |
|
6 | + ] |
|
7 | 7 | ]; |
8 | 8 | \ No newline at end of file |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | // render view |
78 | 78 | return App::$View->render($this->tpl, [ |
79 | - 'records' => $query |
|
79 | + 'records' => $query |
|
80 | 80 | ]); |
81 | 81 | } |
82 | 82 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | /** |
68 | 68 | * Prepare model attributes from passed objects |
69 | 69 | * @throws ForbiddenException |
70 | - */ |
|
70 | + */ |
|
71 | 71 | public function before() |
72 | 72 | { |
73 | 73 | // set class attributes from ActiveRecord objects |
@@ -30,7 +30,7 @@ |
||
30 | 30 | if (!(bool)$post->closed && \App::$User->isAuth()) { |
31 | 31 | $user = App::$User->identity(); |
32 | 32 | if ((int)$user->getId() === (int)$post->user_id) { |
33 | - echo Url::a(['feedback/close', [$post->id, $post->hash]], __('Close request'), ['class' => 'btn btn-danger']); |
|
33 | + echo Url::a(['feedback/close', [$post->id, $post->hash]], __('Close request'), ['class' => 'btn btn-danger']); |
|
34 | 34 | } |
35 | 35 | } |
36 | 36 | ?> |