File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1919trait ResetPasswordRequestTrait
2020{
2121 /**
22+ * @var string
23+ *
2224 * @ORM\Column(type="string", length=20)
2325 */
2426 #[ORM \Column(type: Types::STRING , length: 20 )]
2527 protected $ selector ;
2628
2729 /**
30+ * @var string
31+ *
2832 * @ORM\Column(type="string", length=100)
2933 */
3034 #[ORM \Column(type: Types::STRING , length: 100 )]
3135 protected $ hashedToken ;
3236
3337 /**
38+ * @var \DateTimeImmutable
39+ *
3440 * @ORM\Column(type="datetime_immutable")
3541 */
3642 #[ORM \Column(type: Types::DATETIME_IMMUTABLE )]
3743 protected $ requestedAt ;
3844
3945 /**
46+ * @var \DateTimeInterface
47+ *
4048 * @ORM\Column(type="datetime_immutable")
4149 */
4250 #[ORM \Column(type: Types::DATETIME_IMMUTABLE )]
4351 protected $ expiresAt ;
4452
53+ /** @return void */
4554 protected function initialize (\DateTimeInterface $ expiresAt , string $ selector , string $ hashedToken )
4655 {
4756 $ this ->requestedAt = new \DateTimeImmutable ('now ' );
You can’t perform that action at this time.
0 commit comments