diff --git a/tests/PhpGenerator/expected/Extractor.bodies.expect b/tests/PhpGenerator/expected/Extractor.bodies.expect index aaa0a3ff..21d22313 100644 --- a/tests/PhpGenerator/expected/Extractor.bodies.expect +++ b/tests/PhpGenerator/expected/Extractor.bodies.expect @@ -10,32 +10,32 @@ use const BAR; abstract class Class7 { - abstract public function abstractFun(); + abstract function abstractFun(); - public function emptyFun() + function emptyFun() { } - public function emptyFun2() + function emptyFun2() { } - public function simple() + function simple() { return 1; } - public function simple2() + function simple2() { return 1; } - public function long() + function long() { if ($member instanceof Method) { $s = [1, 2, 3]; @@ -47,7 +47,7 @@ abstract class Class7 } - public function resolving($a = a\FOO, self $b = null, $c = self::FOO) + function resolving($a = a\FOO, self $b = null, $c = self::FOO) { echo FOO; echo \FOO; @@ -67,7 +67,7 @@ abstract class Class7 } - public function complex() + function complex() { echo 1; // single line comment diff --git a/tests/PhpGenerator/expected/Extractor.enum.expect b/tests/PhpGenerator/expected/Extractor.enum.expect index 53c7bf69..c4fee069 100644 --- a/tests/PhpGenerator/expected/Extractor.enum.expect +++ b/tests/PhpGenerator/expected/Extractor.enum.expect @@ -18,8 +18,8 @@ enum Enum1 case Hearts; case Spades; - public const FOO = 123; - public const BAR = self::Clubs; + const FOO = 123; + const BAR = self::Clubs; public function foo($x = self::Diamonds) {