We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6fd4ca + 46e74b9 commit 323cf2fCopy full SHA for 323cf2f
src/Traits/GenericCollection.php
@@ -1,8 +1,6 @@
1
<?php
2
namespace Ds\Traits;
3
4
-use Ds\Collection;
5
-
6
/**
7
* Common to structures that implement the base collection interface.
8
*/
@@ -37,9 +35,9 @@ public function jsonSerialize()
37
35
38
36
* Creates a shallow copy of the collection.
39
*
40
- * @return Collection a shallow copy of the collection.
+ * @return static a shallow copy of the collection.
41
42
- public function copy(): Collection
+ public function copy(): self
43
{
44
return new self($this);
45
}
0 commit comments