WIP - phpstan and phpcs - tests failing currently
This commit is contained in:
@@ -18,9 +18,9 @@ use Cake\ORM\Entity;
|
||||
* @property \Cake\I18n\DateTime|null $confirm_email_sent
|
||||
* @property \Cake\I18n\DateTime|null $backend_email_sent
|
||||
*/
|
||||
class ContactUsFormSubmission extends Entity
|
||||
{
|
||||
/**
|
||||
class ContactUsFormSubmission extends Entity {
|
||||
|
||||
/**
|
||||
* Fields that can be mass assigned using newEntity() or patchEntity().
|
||||
*
|
||||
* Note that when '*' is set to true, this allows all unspecified fields to
|
||||
@@ -29,14 +29,15 @@ class ContactUsFormSubmission extends Entity
|
||||
*
|
||||
* @var array<string, bool>
|
||||
*/
|
||||
protected array $_accessible = [
|
||||
'submitted_at' => true,
|
||||
'client_ip' => true,
|
||||
'name' => true,
|
||||
'email' => true,
|
||||
'subject' => true,
|
||||
'message' => true,
|
||||
'confirm_email_sent' => true,
|
||||
'backend_email_sent' => true,
|
||||
];
|
||||
protected array $_accessible = [
|
||||
'submitted_at' => true,
|
||||
'client_ip' => true,
|
||||
'name' => true,
|
||||
'email' => true,
|
||||
'subject' => true,
|
||||
'message' => true,
|
||||
'confirm_email_sent' => true,
|
||||
'backend_email_sent' => true,
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user