Skip to content

Commit ec2a714

Browse files
authored
Improved return type for clone method
1 parent e070611 commit ec2a714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Selection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function count() : int
146146
/**
147147
* Clones object - same as: $copy = clone $orig;
148148
*/
149-
public function clone() : self
149+
public function clone() : static
150150
{
151151
$newSel = clone $this->selection;
152152

0 commit comments

Comments
 (0)