Merge pull request #141 from hifi7/patch-1
Fix wrong date format in example PrePersist method
This commit is contained in:
commit
f7e9a91b5c
@ -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…
x
Reference in New Issue
Block a user