Skip to content

Commit

Permalink
Use simplemost set { ... } form
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 16, 2024
1 parent 5929c83 commit 2fbca6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function run() {
#[Test]
public function set_block() {
$r= $this->run('class %T {
public $test { set($value) { $this->test= ucfirst($value); } }
public $test { set { $this->test= ucfirst($value); } }
public function run() {
$this->test= "test";
Expand Down

0 comments on commit 2fbca6f

Please sign in to comment.