remove codeigniter
This commit is contained in:
@@ -8,7 +8,7 @@ class PaymentNotificationLog extends BaseModel
|
||||
{
|
||||
protected $table = 'payment_notification_logs';
|
||||
|
||||
// CI: useTimestamps = false (created_at / sent_at are managed manually)
|
||||
// legacy: useTimestamps = false (created_at / sent_at are managed manually)
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
@@ -53,7 +53,7 @@ class PaymentNotificationLog extends BaseModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Equivalent of CI existsForPeriod()
|
||||
* Equivalent of legacy existsForPeriod()
|
||||
*/
|
||||
public static function existsForPeriod(int $parentId, int $year, int $month, string $type): bool
|
||||
{
|
||||
@@ -66,7 +66,7 @@ class PaymentNotificationLog extends BaseModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Equivalent of CI listLogs()
|
||||
* Equivalent of legacy listLogs()
|
||||
* $from/$to should be DATETIME strings.
|
||||
*/
|
||||
public static function listLogs(?string $from = null, ?string $to = null, ?string $type = null): array
|
||||
|
||||
Reference in New Issue
Block a user