LivePersonInc /
LiveEngageLaravel
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Transfer |
||
| 4 | * |
||
| 5 | * @package LivePersonInc\LiveEngageLaravel\Models |
||
| 6 | */ |
||
| 7 | |||
| 8 | namespace LivePersonInc\LiveEngageLaravel\Models; |
||
| 9 | |||
| 10 | use Carbon\Carbon; |
||
| 11 | use Illuminate\Database\Eloquent\Model; |
||
| 12 | |||
| 13 | class Transfer extends Model |
||
| 14 | { |
||
| 15 | protected $guarded = []; |
||
| 16 | |||
| 17 | public function getTimeAttribute() |
||
| 18 | { |
||
| 19 | return new Carbon(intval($this->timeL/1000)); |
||
|
0 ignored issues
–
show
|
|||
| 20 | } |
||
| 21 | } |
||
| 22 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.