Skip to content

Commit

Permalink
Fix typo in example code. (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crell authored Nov 25, 2024
1 parent 993e347 commit 0c2a0d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion language/oop5/interfaces.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ class C2 implements I
// the default behavior.
public string $both {
get => $this->all;
set => strtoupper($value);
set {
$this->all = strtoupper($value);
}
}
}
?>
Expand Down

0 comments on commit 0c2a0d7

Please sign in to comment.