File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class NodeList extends NodeCollection
3030 * @param Document $document
3131 * @param iterable $nodes
3232 */
33- public function __construct (Document $ document = null , ?iterable $ nodes = null ) {
33+ public function __construct (? Document $ document = null , ?iterable $ nodes = null ) {
3434 parent ::__construct ($ nodes );
3535
3636 $ this ->document = $ document ;
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ public function eq(int $index): ?\DOMNode {
297297 *
298298 * @return NodeList
299299 */
300- public function parents (string $ selector = null ): NodeList {
300+ public function parents (? string $ selector = null ): NodeList {
301301 return $ this ->parentsUntil (null , $ selector );
302302 }
303303
You can’t perform that action at this time.
0 commit comments