File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -505,17 +505,14 @@ public function last(): array
505
505
* This method MUST retain the state of the current instance, and return
506
506
* an instance that contains the specified changes.
507
507
*
508
- * @param SfMemberInput|null $member
508
+ * @param SfMemberInput $member
509
509
*
510
510
* @throws SyntaxError If the string key is not a valid
511
511
*/
512
512
public function add (
513
513
string $ key ,
514
- iterable |StructuredFieldProvider |Dictionary |Parameters |Item |Token |Bytes |DisplayString |DateTimeInterface |string |int |float |bool | null $ member
514
+ iterable |StructuredFieldProvider |Dictionary |Parameters |Item |Token |Bytes |DisplayString |DateTimeInterface |string |int |float |bool $ member
515
515
): self {
516
- if (null === $ member ) {
517
- return $ this ;
518
- }
519
516
$ members = $ this ->members ;
520
517
$ members [MapKey::from ($ key )->value ] = self ::filterMember ($ member );
521
518
You can’t perform that action at this time.
0 commit comments