We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b3916 commit 071f78cCopy full SHA for 071f78c
1 file changed
src/Kernel/Structures/_Utf8.php
@@ -44,21 +44,6 @@ public function enableWrite(bool $enable): self
44
return $this;
45
}
46
47
- /**
48
- * @param string $string
49
- * @return _Utf8
50
- * @throws ReadOnlyException
51
- */
52
- public function setString(string $string): self
53
- {
54
- if ($this->isWritable) {
55
- $this->string = $string;
56
- return $this;
57
- }
58
-
59
- throw new ReadOnlyException('You cannot overwrite constant.');
60
61
62
public function getString()
63
{
64
return $this->string;
0 commit comments