Passed
Push — master ( 02a4a5...02a4a5 )
by Mihail
04:38
created
Apps/ActiveRecord/Role.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Ffcms\Core\App as MainApp;
6 6
 use Ffcms\Core\Arch\ActiveModel;
7 7
 use Ffcms\Core\Helper\Type\Arr;
8
-use Ffcms\Core\Helper\Type\Str;
9 8
 
10 9
 class Role extends ActiveModel
11 10
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
      */
27 27
     public static function get($role_id)
28 28
     {
29
-        $role = MainApp::$Memory->get('user.role.cache.' . $role_id);
29
+        $role = MainApp::$Memory->get('user.role.cache.'.$role_id);
30 30
 
31 31
         // not founded in cache
32 32
         if ($role === null) {
33 33
             $role = self::find($role_id);
34
-            MainApp::$Memory->set('user.role.cache.' . $role_id, $role);
34
+            MainApp::$Memory->set('user.role.cache.'.$role_id, $role);
35 35
         }
36 36
         return $role;
37 37
     }
Please login to merge, or discard this patch.
Apps/Controller/Admin/Main.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Ffcms\Core\App;
10 10
 use Ffcms\Core\Exception\SyntaxException;
11 11
 use Ffcms\Core\Helper\FileSystem\File;
12
-use Ffcms\Core\Helper\Type\Arr;
13 12
 use Ffcms\Core\Helper\Type\Integer;
14 13
 use Ffcms\Core\Helper\Type\Str;
15 14
 
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -37,21 +37,21 @@  discard block
 block discarded – undo
37 37
         // cache some data
38 38
         $rootSize = App::$Cache->get('root.size');
39 39
         if ($rootSize === null) {
40
-            $rootSize = round(Directory::getSize('/') / (1024*1000), 2) . ' mb';
40
+            $rootSize = round(Directory::getSize('/') / (1024 * 1000), 2).' mb';
41 41
             App::$Cache->set('root.size', $rootSize, 86400); // 24 hours caching = 60 * 60 * 24
42 42
         }
43 43
         $loadAvg = App::$Cache->get('load.average');
44 44
         if ($loadAvg === null) {
45 45
             $loadAvg = Environment::loadAverage();
46
-            App::$Cache->set('load.average', $loadAvg, 60*5); // 5 min cache
46
+            App::$Cache->set('load.average', $loadAvg, 60 * 5); // 5 min cache
47 47
         }
48 48
 
49 49
         // prepare system statistic
50 50
         $stats = [
51
-            'ff_version' => App::$Properties->version['num'] . ' (' . App::$Properties->version['date'] . ')',
52
-            'php_version' => Environment::phpVersion() . ' (' . Environment::phpSAPI() . ')',
51
+            'ff_version' => App::$Properties->version['num'].' ('.App::$Properties->version['date'].')',
52
+            'php_version' => Environment::phpVersion().' ('.Environment::phpSAPI().')',
53 53
             'os_name' => Environment::osName(),
54
-            'database_name' => App::$Database->connection()->getDatabaseName() . ' (' . App::$Database->connection()->getDriverName() . ')',
54
+            'database_name' => App::$Database->connection()->getDatabaseName().' ('.App::$Database->connection()->getDriverName().')',
55 55
             'file_size' => $rootSize,
56 56
             'load_avg' => $loadAvg
57 57
         ];
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     public function actionFiles()
104 104
     {
105 105
         return App::$View->render('files', [
106
-            'connector' => App::$Alias->scriptUrl . '/api/main/files?lang=' . App::$Request->getLanguage()
106
+            'connector' => App::$Alias->scriptUrl.'/api/main/files?lang='.App::$Request->getLanguage()
107 107
         ]);
108 108
     }
109 109
 
@@ -174,9 +174,9 @@  discard block
 block discarded – undo
174 174
      */
175 175
     public function actionDeleteroute()
176 176
     {
177
-        $type = (string)App::$Request->query->get('type');
178
-        $loader = (string)App::$Request->query->get('loader');
179
-        $source = Str::lowerCase((string)App::$Request->query->get('path'));
177
+        $type = (string) App::$Request->query->get('type');
178
+        $loader = (string) App::$Request->query->get('loader');
179
+        $source = Str::lowerCase((string) App::$Request->query->get('path'));
180 180
 
181 181
         $model = new EntityDeleteRoute($type, $loader, $source);
182 182
         if ($model->send()) {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $stats = App::$Cache->stats();
201 201
         // get size in mb from cache stats
202
-        $size = round((int)$stats['size'] / (1024*1024), 2);
202
+        $size = round((int) $stats['size'] / (1024 * 1024), 2);
203 203
 
204 204
         // check if submited
205 205
         if (App::$Request->request->get('clearcache', false)) {
Please login to merge, or discard this patch.
Apps/Controller/Front/Main.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Extend\Core\Arch\FrontAppController;
6 6
 use Ffcms\Core\Arch\View;
7
-use Apps\Model\Front\User;
8 7
 
9 8
 
10 9
 class Main extends FrontAppController
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
 
26 26
     public function actionRead($id)
27 27
     {
28
-        echo "Action read called" . $id;
28
+        echo "Action read called".$id;
29 29
     }
30 30
 }
31 31
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentUpdate.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Ffcms\Core\Helper\Date;
10 10
 use Ffcms\Core\Helper\FileSystem\Directory;
11 11
 use Ffcms\Core\Helper\FileSystem\File;
12
-use Ffcms\Core\Helper\Type\Integer;
13 12
 use Ffcms\Core\Helper\Type\Obj;
14 13
 use Ffcms\Core\Helper\Serialize;
15 14
 use Ffcms\Core\Helper\Type\Str;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    * Set model properties from active record data
47
-    */
46
+     * Set model properties from active record data
47
+     */
48 48
     public function before()
49 49
     {
50 50
         // is new item?
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    * Labels
109
-    */
108
+     * Labels
109
+     */
110 110
     public function labels()
111 111
     {
112 112
         return [
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         if ($this->_content->id === null) {
52 52
             $this->_new = true;
53 53
             if (null === $this->galleryFreeId) {
54
-                $this->galleryFreeId = '_tmp_' . Str::randomLatin(mt_rand(16, 32));
54
+                $this->galleryFreeId = '_tmp_'.Str::randomLatin(mt_rand(16, 32));
55 55
             }
56 56
             if (null === $this->authorId) {
57 57
                 $this->authorId = App::$User->identity()->getId();
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function rules()
83 83
     {
84
-        $res =  [
85
-            ['title.' . App::$Request->getLanguage(), 'required'],
86
-            ['text.' . App::$Request->getLanguage(), 'required', null, true, true],
84
+        $res = [
85
+            ['title.'.App::$Request->getLanguage(), 'required'],
86
+            ['text.'.App::$Request->getLanguage(), 'required', null, true, true],
87 87
             ['text', 'used', null, true, true],
88 88
             ['path', 'reverse_match', '/[\/\'~`\!@#\$%\^&\*\(\)+=\{\}\[\]\|;:"\<\>,\?\\\]/'],
89 89
             [['path', 'categoryId', 'authorId', 'display', 'galleryFreeId', 'title'], 'required'],
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
         ];
97 97
 
98 98
         foreach (App::$Properties->get('languages') as $lang) {
99
-            $res[] = ['title.' . $lang, 'length_max', 120, null, true, true];
100
-            $res[] = ['keywords.' . $lang, 'length_max', 150];
101
-            $res[] = ['description.' . $lang, 'length_max', 250];
99
+            $res[] = ['title.'.$lang, 'length_max', 120, null, true, true];
100
+            $res[] = ['keywords.'.$lang, 'length_max', 150];
101
+            $res[] = ['description.'.$lang, 'length_max', 250];
102 102
         }
103 103
 
104 104
         return $res;
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
         $this->_content->meta_description = Serialize::encode(App::$Security->strip_tags($this->metaDescription));
143 143
         $this->_content->source = App::$Security->strip_tags($this->source);
144 144
         // check if rating is changed
145
-        if ((int)$this->addRating !== 0) {
146
-            $this->_content->rating += (int)$this->addRating;
145
+        if ((int) $this->addRating !== 0) {
146
+            $this->_content->rating += (int) $this->addRating;
147 147
         }
148 148
         // check if special comment hash is exist
149 149
         if ($this->_new || Str::length($this->_content->comment_hash) < 32) {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         }
156 156
 
157 157
         // save poster data
158
-        $posterPath = '/upload/gallery/' . $this->galleryFreeId . '/orig/' . $this->poster;
158
+        $posterPath = '/upload/gallery/'.$this->galleryFreeId.'/orig/'.$this->poster;
159 159
         if (File::exist($posterPath)) {
160 160
             $this->_content->poster = $this->poster;
161 161
         }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
         // move files
170 170
         if ($tmpGalleryId !== $this->_content->id) {
171
-            Directory::rename('/upload/gallery/' . $tmpGalleryId, $this->_content->id);
171
+            Directory::rename('/upload/gallery/'.$tmpGalleryId, $this->_content->id);
172 172
         }
173 173
     }
174 174
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $data = ContentCategory::getSortedCategories();
182 182
         $response = [];
183 183
         foreach ($data as $key=>$val) {
184
-            $response[] = (string)$key;
184
+            $response[] = (string) $key;
185 185
         }
186 186
         return $response;
187 187
     }
Please login to merge, or discard this patch.
Apps/Controller/Api/Profile.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $findAnswer->delete();
203 203
 
204 204
         $this->response = json_encode([
205
-           'status' => 1,
205
+            'status' => 1,
206 206
             'message' => 'ok'
207 207
         ]);
208 208
     }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Ffcms\Core\Helper\Date;
16 16
 use Ffcms\Core\Helper\Type\Obj;
17 17
 use Ffcms\Core\Helper\Type\Str;
18
-use Ffcms\Core\Interfaces\iUser;
19 18
 use Illuminate\Database\Capsule\Manager as Capsule;
20 19
 use Ffcms\Core\Exception\NativeException;
21 20
 use Ffcms\Core\Exception\ForbiddenException;
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
             $answerTime = Date::convertToTimestamp($lastAnswer->created_at);
160 160
             $cfgs = \Apps\ActiveRecord\App::getConfigs('app', 'Profile');
161 161
             // hmm, maybe past less then delay required?
162
-            if ($now - (int)$cfgs['delayBetweenPost'] < $answerTime) {
162
+            if ($now - (int) $cfgs['delayBetweenPost'] < $answerTime) {
163 163
                 throw new ForbiddenException('Delay between answers not pass');
164 164
             }
165 165
         }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         // add notification for target user
175 175
         if ($viewer->id !== $target_id) {
176 176
             $notify = new EntityAddNotification($target_id);
177
-            $notify->add('/profile/show/' . $target_id . '#wall-post-' . $wallRow->id, EntityAddNotification::MSG_ADD_WALLANSWER, [
177
+            $notify->add('/profile/show/'.$target_id.'#wall-post-'.$wallRow->id, EntityAddNotification::MSG_ADD_WALLANSWER, [
178 178
                 'snippet' => Text::snippet($message, 50),
179 179
                 'post' => $wallRow->message
180 180
             ]);
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         $postInfo = $findAnswer->getWallPost();
219 219
 
220 220
         // if not a target user of answer and not answer owner - lets throw exception
221
-        if($postInfo->target_id !== $viewer->id && $findAnswer->user_id !== $viewer->id) {
221
+        if ($postInfo->target_id !== $viewer->id && $findAnswer->user_id !== $viewer->id) {
222 222
             throw new ForbiddenException('Access declined!');
223 223
         }
224 224
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
             // sender is not myself? then i'm - target (remote user is sender user->to_me)
280 280
             if ($row->sender_id !== $user->id) {
281 281
                 $userList[] = $row->sender_id;
282
-                if ((int)$row->tread === 0) {
282
+                if ((int) $row->tread === 0) {
283 283
                     $unreadList[] = $row->sender_id;
284 284
                 }
285 285
             }
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
 
352 352
         // get special types for this action
353 353
         $queryType = App::$Request->get('type');
354
-        $queryId = (int)App::$Request->get('id');
354
+        $queryId = (int) App::$Request->get('id');
355 355
         // get current user object
356 356
         $user = App::$User->identity();
357 357
 
@@ -367,11 +367,11 @@  discard block
 block discarded – undo
367 367
         switch ($queryType) {
368 368
             case 'after':
369 369
                 $messages = Message::where('id', '>', $queryId)
370
-                    ->where(function ($query) use ($cor_id, $user) {
371
-                        $query->where(function ($q) use ($cor_id, $user){
370
+                    ->where(function($query) use ($cor_id, $user) {
371
+                        $query->where(function($q) use ($cor_id, $user){
372 372
                             $q->where('target_id', '=', $user->getId())
373 373
                                 ->where('sender_id', '=', $cor_id);
374
-                        })->orWhere(function ($q) use ($cor_id, $user){
374
+                        })->orWhere(function($q) use ($cor_id, $user){
375 375
                             $q->where('target_id', '=', $cor_id)
376 376
                                 ->where('sender_id', '=', $user->getId());
377 377
                         });
@@ -379,11 +379,11 @@  discard block
 block discarded – undo
379 379
                 break;
380 380
             case 'before':
381 381
                 $messages = Message::where('id', '<', $queryId)
382
-                    ->where(function ($query) use ($cor_id, $user) {
383
-                        $query->where(function ($q) use ($cor_id, $user){
382
+                    ->where(function($query) use ($cor_id, $user) {
383
+                        $query->where(function($q) use ($cor_id, $user){
384 384
                             $q->where('target_id', '=', $user->getId())
385 385
                                 ->where('sender_id', '=', $cor_id);
386
-                        })->orWhere(function ($q) use ($cor_id, $user){
386
+                        })->orWhere(function($q) use ($cor_id, $user){
387 387
                             $q->where('target_id', '=', $cor_id)
388 388
                                 ->where('sender_id', '=', $user->getId());
389 389
                         });
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
         $this->setJsonHeader();
492 492
 
493 493
         // get operation type and target user id
494
-        $target_id = (int)App::$Request->get('target');
494
+        $target_id = (int) App::$Request->get('target');
495 495
         $type = App::$Request->get('type');
496 496
 
497 497
         // check type of query
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
 
507 507
         $cfg = \Apps\ActiveRecord\App::getConfigs('app', 'Profile');
508 508
         // check if rating is enabled for website
509
-        if ((int)$cfg['rating'] !== 1) {
509
+        if ((int) $cfg['rating'] !== 1) {
510 510
             throw new NativeException('Rating is disabled');
511 511
         }
512 512
 
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryDelete.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-    * Pass properties from record construction
33
-    */
32
+     * Pass properties from record construction
33
+     */
34 34
     public function before()
35 35
     {
36 36
         $this->title = Serialize::getDecodeLocale($this->_record->title);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Form labels
42
-    */
41
+     * Form labels
42
+     */
43 43
     public function labels()
44 44
     {
45 45
         return [
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-    * Validation rules
54
-    */
53
+     * Validation rules
54
+     */
55 55
     public function rules()
56 56
     {
57 57
         return [
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         }
76 76
 
77 77
         // get all depended category ids
78
-        $cats = ContentCategory::where('path', 'like', $this->_record->path . '%')->get(['id'])->toArray();
78
+        $cats = ContentCategory::where('path', 'like', $this->_record->path.'%')->get(['id'])->toArray();
79 79
         $allCategoryIds = Arr::ploke('id', $cats);
80 80
 
81 81
         // update category_id in content
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $response = [];
111 111
         foreach ($data as $key=>$val) {
112 112
             if ($this->_record->id !== $key) {
113
-                $response[] = (string)$key;
113
+                $response[] = (string) $key;
114 114
             }
115 115
         }
116 116
         return $response;
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryUpdate.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Pass properties from default record values
42
-    */
41
+     * Pass properties from default record values
42
+     */
43 43
     public function before()
44 44
     {
45 45
         if ($this->_record->id === null) {
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-    * Form labels
78
-    */
77
+     * Form labels
78
+     */
79 79
     public function labels()
80 80
     {
81 81
         return [
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-    * Validation rules
97
-    */
96
+     * Validation rules
97
+     */
98 98
     public function rules()
99 99
     {
100 100
         $rules = [
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ffcms\Core\App;
6 6
 use Ffcms\Core\Arch\Model;
7
-use Ffcms\Core\Helper\Type\Obj;
8 7
 use Ffcms\Core\Helper\Type\Str;
9 8
 use Ffcms\Core\Interfaces\iUser;
10 9
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         ];
108 108
 
109 109
         // general category
110
-        if ($this->_new === false && (int)$this->_record->id === 1) {
110
+        if ($this->_new === false && (int) $this->_record->id === 1) {
111 111
             $rules[] = ['path', 'used'];
112 112
         } else {
113 113
             $rules[] = ['path', 'required'];
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             $rules[] = ['path', 'reverse_match', '/[\/\'~`\!@#\$%\^&\*\(\)+=\{\}\[\]\|;:"\<\>,\?\\\]/'];
117 117
         }
118 118
 
119
-        $rules[] = ['title.' . App::$Request->getLanguage(), 'required'];
119
+        $rules[] = ['title.'.App::$Request->getLanguage(), 'required'];
120 120
 
121 121
 
122 122
         return $rules;
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     {
130 130
         $this->_record->title = Serialize::encode(App::$Security->strip_tags($this->title));
131 131
         $this->_record->description = Serialize::encode(App::$Security->strip_tags($this->description));
132
-        $savePath = trim($this->_pathNested . '/' . $this->path, '/');
132
+        $savePath = trim($this->_pathNested.'/'.$this->path, '/');
133 133
         $this->_record->path = $savePath;
134 134
         $this->_record->configs = Serialize::encode($this->configs);
135 135
         $this->_record->save();
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         // build path with owner category
165 165
         $this->_pathNested = $owner->path;
166 166
         if (Str::length($this->_pathNested) > 0) {
167
-            $path = $this->_pathNested . '/' . $path;
167
+            $path = $this->_pathNested.'/'.$path;
168 168
         }
169 169
 
170 170
         // make select for check
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentClear.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
     }
16 16
 
17 17
     /**
18
-    * Example of usage magic labels for future form helper usage
19
-    */
18
+     * Example of usage magic labels for future form helper usage
19
+     */
20 20
     public function labels()
21 21
     {
22 22
         return [
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-    * Typo rules
29
-    */
28
+     * Typo rules
29
+     */
30 30
     public function rules()
31 31
     {
32 32
         return [];
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentDelete.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-    * Set readable title of content to property
28
-    */
27
+     * Set readable title of content to property
28
+     */
29 29
     public function before()
30 30
     {
31 31
         $this->id = $this->_record->id;
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-    * Form labels
37
-    */
36
+     * Form labels
37
+     */
38 38
     public function labels()
39 39
     {
40 40
         return [
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    * Validation does not matter
47
-    */
46
+     * Validation does not matter
47
+     */
48 48
     public function rules()
49 49
     {
50 50
         return [
Please login to merge, or discard this patch.