Completed
Push — develop ( 8dee05 )
by Dmytro
20:08
created
core/src/Models/SiteTmplvarTemplate.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -13,20 +13,20 @@
 block discarded – undo
13 13
  */
14 14
 class SiteTmplvarTemplate extends Eloquent\Model
15 15
 {
16
-	public $incrementing = false;
17
-	public $timestamps = false;
16
+    public $incrementing = false;
17
+    public $timestamps = false;
18 18
 
19
-	protected $casts = [
20
-		'tmplvarid' => 'int',
21
-		'templateid' => 'int',
22
-		'rank' => 'int'
23
-	];
19
+    protected $casts = [
20
+        'tmplvarid' => 'int',
21
+        'templateid' => 'int',
22
+        'rank' => 'int'
23
+    ];
24 24
 
25
-	protected $fillable = [
26
-	    'tmplvarid',
25
+    protected $fillable = [
26
+        'tmplvarid',
27 27
         'templateid',
28
-		'rank'
29
-	];
28
+        'rank'
29
+    ];
30 30
 
31 31
     public function tmplvar()
32 32
     {
Please login to merge, or discard this patch.
core/src/Models/UserAttribute.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -46,52 +46,52 @@
 block discarded – undo
46 46
 {
47 47
     use Traits\Models\TimeMutator;
48 48
 
49
-	const CREATED_AT = 'createdon';
50
-	const UPDATED_AT = 'editedon';
49
+    const CREATED_AT = 'createdon';
50
+    const UPDATED_AT = 'editedon';
51 51
     protected $dateFormat = 'U';
52 52
 
53
-	protected $casts = [
54
-		'internalKey' => 'int',
55
-		'role' => 'int',
56
-		'blocked' => 'int',
57
-		'blockeduntil' => 'int',
58
-		'blockedafter' => 'int',
59
-		'logincount' => 'int',
60
-		'lastlogin' => 'int',
61
-		'thislogin' => 'int',
62
-		'failedlogincount' => 'int',
63
-		'dob' => 'int',
64
-		'gender' => 'int',
65
-		'createdon' => 'int',
66
-		'editedon' => 'int'
67
-	];
53
+    protected $casts = [
54
+        'internalKey' => 'int',
55
+        'role' => 'int',
56
+        'blocked' => 'int',
57
+        'blockeduntil' => 'int',
58
+        'blockedafter' => 'int',
59
+        'logincount' => 'int',
60
+        'lastlogin' => 'int',
61
+        'thislogin' => 'int',
62
+        'failedlogincount' => 'int',
63
+        'dob' => 'int',
64
+        'gender' => 'int',
65
+        'createdon' => 'int',
66
+        'editedon' => 'int'
67
+    ];
68 68
 
69
-	protected $fillable = [
70
-		'internalKey',
71
-		'fullname',
72
-		'role',
73
-		'email',
74
-		'phone',
75
-		'mobilephone',
76
-		'blocked',
77
-		'blockeduntil',
78
-		'blockedafter',
79
-		'logincount',
80
-		'lastlogin',
81
-		'thislogin',
82
-		'failedlogincount',
83
-		'sessionid',
84
-		'dob',
85
-		'gender',
86
-		'country',
87
-		'street',
88
-		'city',
89
-		'state',
90
-		'zip',
91
-		'fax',
92
-		'photo',
93
-		'comment'
94
-	];
69
+    protected $fillable = [
70
+        'internalKey',
71
+        'fullname',
72
+        'role',
73
+        'email',
74
+        'phone',
75
+        'mobilephone',
76
+        'blocked',
77
+        'blockeduntil',
78
+        'blockedafter',
79
+        'logincount',
80
+        'lastlogin',
81
+        'thislogin',
82
+        'failedlogincount',
83
+        'sessionid',
84
+        'dob',
85
+        'gender',
86
+        'country',
87
+        'street',
88
+        'city',
89
+        'state',
90
+        'zip',
91
+        'fax',
92
+        'photo',
93
+        'comment'
94
+    ];
95 95
 
96 96
     public function getCreatedAtAttribute()
97 97
     {
Please login to merge, or discard this patch.
core/src/Models/WebGroup.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
  */
14 14
 class WebGroup extends Eloquent\Model
15 15
 {
16
-	public $timestamps = false;
16
+    public $timestamps = false;
17 17
 
18
-	protected $casts = [
19
-		'webgroup' => 'int',
20
-		'webuser' => 'int'
21
-	];
18
+    protected $casts = [
19
+        'webgroup' => 'int',
20
+        'webuser' => 'int'
21
+    ];
22 22
 
23
-	protected $fillable = [
24
-		'webgroup',
25
-		'webuser'
26
-	];
23
+    protected $fillable = [
24
+        'webgroup',
25
+        'webuser'
26
+    ];
27 27
 
28 28
     public function user()
29 29
     {
Please login to merge, or discard this patch.
core/src/Models/WebUser.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,17 +17,17 @@
 block discarded – undo
17 17
 {
18 18
     use Traits\Models\ManagerActions;
19 19
 
20
-	public $timestamps = false;
20
+    public $timestamps = false;
21 21
 
22
-	protected $hidden = [
23
-		'password'
24
-	];
22
+    protected $hidden = [
23
+        'password'
24
+    ];
25 25
 
26
-	protected $fillable = [
27
-		'username',
28
-		'password',
29
-		'cachepwd'
30
-	];
26
+    protected $fillable = [
27
+        'username',
28
+        'password',
29
+        'cachepwd'
30
+    ];
31 31
 
32 32
     public function attributes()
33 33
     {
Please login to merge, or discard this patch.
core/src/Models/SystemSetting.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
 {
16 16
     use Traits\Models\ManagerActions;
17 17
 
18
-	protected $primaryKey = 'setting_name';
19
-	public $incrementing = false;
20
-	public $timestamps = false;
18
+    protected $primaryKey = 'setting_name';
19
+    public $incrementing = false;
20
+    public $timestamps = false;
21 21
 
22
-	protected $fillable = [
23
-	    'setting_name',
24
-		'setting_value'
25
-	];
22
+    protected $fillable = [
23
+        'setting_name',
24
+        'setting_value'
25
+    ];
26 26
 }
Please login to merge, or discard this patch.
core/src/Models/ManagerUser.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -16,16 +16,16 @@
 block discarded – undo
16 16
 {
17 17
     use Traits\Models\ManagerActions;
18 18
 
19
-	public $timestamps = false;
19
+    public $timestamps = false;
20 20
 
21
-	protected $hidden = [
22
-		'password'
23
-	];
21
+    protected $hidden = [
22
+        'password'
23
+    ];
24 24
 
25
-	protected $fillable = [
26
-		'username',
27
-		'password'
28
-	];
25
+    protected $fillable = [
26
+        'username',
27
+        'password'
28
+    ];
29 29
 
30 30
     public function attributes()
31 31
     {
Please login to merge, or discard this patch.
core/src/Models/ActiveUserLock.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,20 +16,20 @@
 block discarded – undo
16 16
  */
17 17
 class ActiveUserLock extends Eloquent\Model
18 18
 {
19
-	public $timestamps = false;
19
+    public $timestamps = false;
20 20
 
21
-	protected $casts = [
22
-		'internalKey' => 'int',
23
-		'elementType' => 'int',
24
-		'elementId' => 'int',
25
-		'lasthit' => 'int'
26
-	];
21
+    protected $casts = [
22
+        'internalKey' => 'int',
23
+        'elementType' => 'int',
24
+        'elementId' => 'int',
25
+        'lasthit' => 'int'
26
+    ];
27 27
 
28
-	protected $fillable = [
29
-		'sid',
30
-		'internalKey',
31
-		'elementType',
32
-		'elementId',
33
-		'lasthit'
34
-	];
28
+    protected $fillable = [
29
+        'sid',
30
+        'internalKey',
31
+        'elementType',
32
+        'elementId',
33
+        'lasthit'
34
+    ];
35 35
 }
Please login to merge, or discard this patch.
core/src/Models/EventLog.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -29,28 +29,28 @@
 block discarded – undo
29 29
     use Traits\Models\ManagerActions,
30 30
         Traits\Models\TimeMutator;
31 31
 
32
-	protected $table = 'event_log';
32
+    protected $table = 'event_log';
33 33
 
34 34
     const CREATED_AT = 'createdon';
35 35
     const UPDATED_AT = null;
36 36
     protected $dateFormat = 'U';
37 37
 
38
-	protected $casts = [
39
-		'eventid' => 'int',
40
-		'createdon' => 'int',
41
-		'type' => 'int',
42
-		'user' => 'int',
43
-		'usertype' => 'int'
44
-	];
38
+    protected $casts = [
39
+        'eventid' => 'int',
40
+        'createdon' => 'int',
41
+        'type' => 'int',
42
+        'user' => 'int',
43
+        'usertype' => 'int'
44
+    ];
45 45
 
46
-	protected $fillable = [
47
-		'eventid',
48
-		'type',
49
-		'user',
50
-		'usertype',
51
-		'source',
52
-		'description'
53
-	];
46
+    protected $fillable = [
47
+        'eventid',
48
+        'type',
49
+        'user',
50
+        'usertype',
51
+        'source',
52
+        'description'
53
+    ];
54 54
 
55 55
     public const TYPE_INFORMATION = 1;
56 56
     public const TYPE_WARNING = 2;
Please login to merge, or discard this patch.
core/src/Models/SiteTmplvar.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -45,33 +45,33 @@
 block discarded – undo
45 45
     use Traits\Models\ManagerActions,
46 46
         Traits\Models\TimeMutator;
47 47
 
48
-	const CREATED_AT = 'createdon';
49
-	const UPDATED_AT = 'editedon';
48
+    const CREATED_AT = 'createdon';
49
+    const UPDATED_AT = 'editedon';
50 50
     protected $dateFormat = 'U';
51 51
 
52
-	protected $casts = [
53
-		'editor_type' => 'int',
54
-		'category' => 'int',
55
-		'locked' => 'int',
56
-		'rank' => 'int',
57
-		'createdon' => 'int',
58
-		'editedon' => 'int'
59
-	];
60
-
61
-	protected $fillable = [
62
-		'type',
63
-		'name',
64
-		'caption',
65
-		'description',
66
-		'editor_type',
67
-		'category',
68
-		'locked',
69
-		'elements',
70
-		'rank',
71
-		'display',
72
-		'display_params',
73
-		'default_text'
74
-	];
52
+    protected $casts = [
53
+        'editor_type' => 'int',
54
+        'category' => 'int',
55
+        'locked' => 'int',
56
+        'rank' => 'int',
57
+        'createdon' => 'int',
58
+        'editedon' => 'int'
59
+    ];
60
+
61
+    protected $fillable = [
62
+        'type',
63
+        'name',
64
+        'caption',
65
+        'description',
66
+        'editor_type',
67
+        'category',
68
+        'locked',
69
+        'elements',
70
+        'rank',
71
+        'display',
72
+        'display_params',
73
+        'default_text'
74
+    ];
75 75
 
76 76
     protected $managerActionsMap = [
77 77
         'actions.cancel' => 76,
Please login to merge, or discard this patch.