style updates
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Workflow\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
final class WorkflowTransition extends Model { protected $fillable=['workflow_definition_id','from_stage_id','to_stage_id','name','action','required_permission','requires_comment']; protected function casts(): array { return ['requires_comment'=>'boolean']; } }
|
||||
|
||||
final class WorkflowTransition extends Model
|
||||
{
|
||||
protected $fillable = ['workflow_definition_id', 'from_stage_id', 'to_stage_id', 'name', 'action', 'required_permission', 'requires_comment'];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['requires_comment' => 'boolean'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user