File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
tests/PhpGenerator/expected Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,32 +10,32 @@ use const BAR;
1010
1111abstract class Class7
1212{
13- abstract public function abstractFun();
13+ abstract function abstractFun();
1414
1515
16- public function emptyFun()
16+ function emptyFun()
1717 {
1818 }
1919
2020
21- public function emptyFun2()
21+ function emptyFun2()
2222 {
2323 }
2424
2525
26- public function simple()
26+ function simple()
2727 {
2828 return 1;
2929 }
3030
3131
32- public function simple2()
32+ function simple2()
3333 {
3434 return 1;
3535 }
3636
3737
38- public function long()
38+ function long()
3939 {
4040 if ($member instanceof Method) {
4141 $s = [1, 2, 3];
@@ -47,7 +47,7 @@ abstract class Class7
4747 }
4848
4949
50- public function resolving($a = a\FOO, self $b = null, $c = self::FOO)
50+ function resolving($a = a\FOO, self $b = null, $c = self::FOO)
5151 {
5252 echo FOO;
5353 echo \FOO;
@@ -67,7 +67,7 @@ abstract class Class7
6767 }
6868
6969
70- public function complex()
70+ function complex()
7171 {
7272 echo 1;
7373 // single line comment
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ enum Enum1
1818 case Hearts;
1919 case Spades;
2020
21- public const FOO = 123;
22- public const BAR = self::Clubs;
21+ const FOO = 123;
22+ const BAR = self::Clubs;
2323
2424 public function foo($x = self::Diamonds)
2525 {
You can’t perform that action at this time.
0 commit comments