Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
be5df5334f
commit
d637c2b23f
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_format extends Model {
|
||||
|
||||
class Date_format extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'date_format';
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
||||
|
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_time_format extends Model {
|
||||
|
||||
class Date_time_format extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'date_time_format';
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
||||
|
@@ -4,14 +4,14 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Email extends Model {
|
||||
class Email extends Model
|
||||
{
|
||||
/* Using Email table */
|
||||
|
||||
protected $table = 'email';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'template', 'sys_email', 'alert_email', 'admin_email', 'mta', 'email_fetching', 'strip',
|
||||
'separator', 'all_emails', 'email_collaborator', 'attachment'
|
||||
'separator', 'all_emails', 'email_collaborator', 'attachment',
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -4,11 +4,10 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_type extends Model {
|
||||
|
||||
class Form_type extends Model
|
||||
{
|
||||
protected $table = 'form_type';
|
||||
protected $fillable = [
|
||||
'id', 'type'
|
||||
'id', 'type',
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -4,11 +4,10 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_visibility extends Model {
|
||||
|
||||
class Form_visibility extends Model
|
||||
{
|
||||
protected $table = 'form_visibility';
|
||||
protected $fillable = [
|
||||
'id', 'visibility'
|
||||
'id', 'visibility',
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Languages extends Model {
|
||||
|
||||
class Languages extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'languages';
|
||||
protected $fillable = ['name', 'locale'];
|
||||
|
||||
}
|
||||
|
@@ -4,9 +4,8 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Limit_Login extends Model {
|
||||
|
||||
class Limit_Login extends Model
|
||||
{
|
||||
protected $table = 'limit_login';
|
||||
protected $fillable = ['email', 'ip_address', 'duration', 'attempt_time', 'created_at', 'updated_at'];
|
||||
|
||||
}
|
||||
|
@@ -4,9 +4,8 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Log_notification extends Model {
|
||||
|
||||
class Log_notification extends Model
|
||||
{
|
||||
protected $table = 'log_notification';
|
||||
protected $fillable = ['id', 'log'];
|
||||
|
||||
}
|
||||
|
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Logs extends Model {
|
||||
|
||||
class Logs extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'logs';
|
||||
protected $fillable = ['id', 'level'];
|
||||
|
||||
}
|
||||
|
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MailboxProtocol extends Model {
|
||||
|
||||
class MailboxProtocol extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'mailbox_protocol';
|
||||
protected $fillable = ['id', 'name', 'value'];
|
||||
|
||||
}
|
||||
|
@@ -4,12 +4,11 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Priority extends Model {
|
||||
|
||||
class Priority extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'priority';
|
||||
protected $fillable = [
|
||||
'id', 'name'
|
||||
'id', 'name',
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -4,11 +4,10 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_thread extends Model {
|
||||
|
||||
class Ticket_thread extends Model
|
||||
{
|
||||
protected $table = 'ticket_thread';
|
||||
protected $fillable = [
|
||||
'id', 'ticket_id', 'ticket_subject', 'ticket_message', 'time', 'poster', 'created_at', 'updated_at'
|
||||
'id', 'ticket_id', 'ticket_subject', 'ticket_message', 'time', 'poster', 'created_at', 'updated_at',
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -4,10 +4,9 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Time_format extends Model {
|
||||
|
||||
class Time_format extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'time_format';
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
||||
|
@@ -1,10 +1,12 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Timezones extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
protected $table = 'timezone';
|
||||
protected $fillable = ['name', 'location'];
|
||||
class Timezones extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'timezone';
|
||||
protected $fillable = ['name', 'location'];
|
||||
}
|
||||
|
@@ -4,9 +4,8 @@ namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Version_Check extends Model {
|
||||
|
||||
class Version_Check extends Model
|
||||
{
|
||||
protected $table = 'version_check';
|
||||
protected $fillable = ['current_version', 'new_version', 'updated_at', 'created_at'];
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user