Removed redundant functions from Invoice, optimised Invoice tables
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Models\Service;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Arr;
|
||||
use Leenooks\Carbon as LeenooksCarbon;
|
||||
|
||||
/**
|
||||
* Class SSL (Service)
|
||||
@@ -76,9 +77,9 @@ class SSL extends Type
|
||||
/**
|
||||
* Return the Certificate Expiry Date
|
||||
*/
|
||||
public function getServiceExpireAttribute(): ?Carbon
|
||||
public function getServiceExpireAttribute(): ?LeenooksCarbon
|
||||
{
|
||||
return $this->cert ? Carbon::createFromTimestamp($this->crt_parse->get('validTo_time_t')) : NULL;
|
||||
return $this->cert ? LeenooksCarbon::createFromTimestamp($this->crt_parse->get('validTo_time_t')) : NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user