@@ -261,7 +261,7 @@ public function getCreatedAt(): ?DateTime
261261 return $ this ->createdAt ;
262262 }
263263
264- public function setCreatedAt (DateTime $ createdAt = null ): Customer
264+ public function setCreatedAt (? DateTime $ createdAt = null ): Customer
265265 {
266266 $ this ->createdAt = $ createdAt ;
267267
@@ -273,7 +273,7 @@ public function getUpdatedAt(): ?DateTime
273273 return $ this ->updatedAt ;
274274 }
275275
276- public function setUpdatedAt (DateTime $ updatedAt = null ): Customer
276+ public function setUpdatedAt (? DateTime $ updatedAt = null ): Customer
277277 {
278278 $ this ->updatedAt = $ updatedAt ;
279279
@@ -432,9 +432,8 @@ public function setChatHandles(Collection $chats): Customer
432432
433433 /**
434434 * @param ChatHandle|string $chat
435- * @param string $type
436435 */
437- public function addChatHandle ($ chat , string $ type = null ): Customer
436+ public function addChatHandle ($ chat , ? string $ type = null ): Customer
438437 {
439438 if (is_string ($ chat )) {
440439 $ newChatHandle = new ChatHandle ();
@@ -480,9 +479,8 @@ public function setEmails(Collection $emails): Customer
480479
481480 /**
482481 * @param Email|string $email
483- * @param string $type
484482 */
485- public function addEmail ($ email , string $ type = null ): Customer
483+ public function addEmail ($ email , ? string $ type = null ): Customer
486484 {
487485 if (is_string ($ email )) {
488486 $ newEmail = new Email ();
@@ -528,9 +526,8 @@ public function setPhones(Collection $phones): Customer
528526
529527 /**
530528 * @param Phone|string $phone
531- * @param string $type
532529 */
533- public function addPhone ($ phone , string $ type = null ): Customer
530+ public function addPhone ($ phone , ? string $ type = null ): Customer
534531 {
535532 if (is_string ($ phone )) {
536533 $ newPhone = new Phone ();
@@ -566,9 +563,8 @@ public function setSocialProfiles(Collection $socialProfiles): Customer
566563
567564 /**
568565 * @param SocialProfile|string $profile
569- * @param string $type
570566 */
571- public function addSocialProfile ($ profile , string $ type = null ): Customer
567+ public function addSocialProfile ($ profile , ? string $ type = null ): Customer
572568 {
573569 if (is_string ($ profile )) {
574570 $ newProfile = new SocialProfile ();
0 commit comments