]> git.agnieray.net Git - galette.git/commitdiff
Less strict check
authorJohan Cwiklinski <johan@x-tnd.be>
Tue, 16 Nov 2021 06:41:16 +0000 (07:41 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Tue, 16 Nov 2021 06:41:16 +0000 (07:41 +0100)
galette/lib/Galette/Entity/Adherent.php

index 08b3666adb32ef16afd7fecb53e547b82a2c78ca..34a70a53e0e0499f0d24e75773e34e2b05b4cfec 100644 (file)
@@ -871,8 +871,8 @@ class Adherent
      * @return string
      */
     public static function getNameWithCase(
-        string $name,
-        string $surname,
+        ?string $name,
+        ?string $surname,
         $title = false,
         $id = false,
         $nick = false