File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ public function testSourceFactoryCompatibility(): void
82
82
83
83
new class () implements SourceFactoryInterface {
84
84
public function create ($ source ): ReadableInterface {}
85
- public function createFromString (string $ content = '' , string $ name = null ): ReadableInterface {}
85
+ public function createFromString (string $ content = '' , ? string $ name = null ): ReadableInterface {}
86
86
public function createFromFile (string $ filename ): FileInterface {}
87
- public function createFromStream ($ stream , string $ name = null ): ReadableInterface {}
87
+ public function createFromStream ($ stream , ? string $ name = null ): ReadableInterface {}
88
88
};
89
89
}
90
90
@@ -97,9 +97,9 @@ public function testSourceFactoryWithMixedCompatibility(): void
97
97
98
98
new class () implements SourceFactoryInterface {
99
99
public function create (mixed $ source ): ReadableInterface {}
100
- public function createFromString (string $ content = '' , string $ name = null ): ReadableInterface {}
100
+ public function createFromString (string $ content = '' , ? string $ name = null ): ReadableInterface {}
101
101
public function createFromFile (string $ filename ): FileInterface {}
102
- public function createFromStream (mixed $ stream , string $ name = null ): ReadableInterface {}
102
+ public function createFromStream (mixed $ stream , ? string $ name = null ): ReadableInterface {}
103
103
};
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments