File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Name
1919 *
2020 * @param array|null $parts
2121 */
22- public function __construct (array $ parts = null )
22+ public function __construct (? array $ parts = null )
2323 {
2424 if (null !== $ parts ) {
2525 $ this ->setParts ($ parts );
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class LastnamePrefix extends Lastname
66{
77 protected $ normalized = '' ;
88
9- public function __construct (string $ value , string $ normalized = null )
9+ public function __construct (string $ value , ? string $ normalized = null )
1010 {
1111 $ this ->normalized = $ normalized ?? $ value ;
1212
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ abstract class PreNormalizedPart extends AbstractPart
66{
77 protected $ normalized = '' ;
88
9- public function __construct (string $ value , string $ normalized = null )
9+ public function __construct (string $ value , ? string $ normalized = null )
1010 {
1111 $ this ->normalized = $ normalized ?? $ value ;
1212
You can’t perform that action at this time.
0 commit comments