Fix wrong date format in example PrePersist method
This commit is contained in:
parent
30bddbd254
commit
f221faff28
@ -240,7 +240,7 @@ event occurs.
|
||||
/** @PrePersist */
|
||||
public function doStuffOnPrePersist()
|
||||
{
|
||||
$this->createdAt = date('Y-m-d H:m:s');
|
||||
$this->createdAt = date('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
/** @PrePersist */
|
||||
|
Loading…
Reference in New Issue
Block a user