Skip to content

Commit

Permalink
Remove type from (get|set)_modifiers_erases_static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Aug 27, 2024
1 parent d4e2ffa commit c9cba75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ public function set_modifiers($modifier) {
public function get_modifiers_erases_static() {
Assert::equals(
new Modifiers('public'),
$this->declare('{ public static int $fixture; }')->property('fixture')->modifiers('get')
$this->declare('{ public static $fixture; }')->property('fixture')->modifiers('get')
);
}

#[Test]
public function set_modifiers_erases_static() {
Assert::equals(
new Modifiers('public'),
$this->declare('{ public static int $fixture; }')->property('fixture')->modifiers('set')
$this->declare('{ public static $fixture; }')->property('fixture')->modifiers('set')
);
}

Expand Down

0 comments on commit c9cba75

Please sign in to comment.