Quick fix to the models (#1648)

This commit is contained in:
Belle Aerni authored and GitHub committed 2023-09-28 12:25:22 +02:00
1 parent e72fd5b123
commit bf3c40719e
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@
class Model_MassmailerMessage extends \RedBeanPHP\SimpleModel
{
public int $id;
public string $status;
public string $sent_at;
public int $id = 0;
public string $status = '';
public string $sent_at = '';
}
+2 -2
View File
@@ -15,6 +15,6 @@ class Model_Transaction extends \RedBeanPHP\SimpleModel
public const STATUS_PROCESSED = 'processed';
public const STATUS_ERROR = 'error';
public int $gateway_id;
public string $ipn;
public int $gateway_id = 0 ;
public string $ipn = '';
}