Skip to content

Commit 96e4548

Browse files
committed
Replace Primitive with self
self should be preferred to the class name itself.
1 parent 4c6a988 commit 96e4548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPUnit/Primitive.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ public function setString(string $string): void
110110
$this->string = $string;
111111
}
112112

113-
public function getPrimitive(): Primitive
113+
public function getPrimitive(): self
114114
{
115115
return $this->primitive;
116116
}
117117

118-
public function setPrimitive(Primitive $primitive): void
118+
public function setPrimitive(self $primitive): void
119119
{
120120
$this->primitive = $primitive;
121121
}

0 commit comments

Comments
 (0)