Skip to content

Commit 071f78c

Browse files
committed
Remove setString
1 parent 36b3916 commit 071f78c

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/Kernel/Structures/_Utf8.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,6 @@ public function enableWrite(bool $enable): self
4444
return $this;
4545
}
4646

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-
6247
public function getString()
6348
{
6449
return $this->string;

0 commit comments

Comments
 (0)