From c9cba75a53bad57953d8e609ec9958f694810242 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Tue, 27 Aug 2024 20:11:44 +0200 Subject: [PATCH] Remove type from (get|set)_modifiers_erases_static tests --- .../php/lang/reflection/unittest/PropertiesTest.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/php/lang/reflection/unittest/PropertiesTest.class.php b/src/test/php/lang/reflection/unittest/PropertiesTest.class.php index 2d20e5f..744dc6e 100755 --- a/src/test/php/lang/reflection/unittest/PropertiesTest.class.php +++ b/src/test/php/lang/reflection/unittest/PropertiesTest.class.php @@ -54,7 +54,7 @@ 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') ); } @@ -62,7 +62,7 @@ public function get_modifiers_erases_static() { 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') ); }