@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create(config('authentication-log.table_name'), function (Blueprint $table) { |
|
| 16 | + Schema::create(config('authentication-log.table_name'), function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->morphs('auth'); |
| 19 | 19 | $table->string('ip_address', 45)->nullable(); |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * |
| 12 | 12 | * @var string |
| 13 | 13 | */ |
| 14 | - public function __construct(array $attributes = []) |
|
| 14 | + public function __construct(array $attributes = [ ]) |
|
| 15 | 15 | { |
| 16 | 16 | parent::__construct($attributes); |
| 17 | 17 | $this->table = config('authentication-log.table_name'); |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * |
| 30 | 30 | * @var array |
| 31 | 31 | */ |
| 32 | - protected $guarded = ['auth_id', 'auth_type']; |
|
| 32 | + protected $guarded = [ 'auth_id', 'auth_type' ]; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * The attributes that should be cast to native types. |