* @param \Rapsys\AirBundle\Entity\GoogleToken $googleToken The google token
* @param string $mail The google calendar id
* @param string $summary The google calendar summary
* @param \Rapsys\AirBundle\Entity\GoogleToken $googleToken The google token
* @param string $mail The google calendar id
* @param string $summary The google calendar summary
- public function __construct(GoogleToken $googleToken, string $mail, string $summary, ?\DateTime $synchronized = null) {
+ public function __construct(GoogleToken $googleToken, string $mail, string $summary, \DateTime $synchronized = new \DateTime('now')) {
*/
public function preUpdate(PreUpdateEventArgs $eventArgs): ?GoogleCalendar {
//Check that we have an snippet instance
*/
public function preUpdate(PreUpdateEventArgs $eventArgs): ?GoogleCalendar {
//Check that we have an snippet instance