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;
10
10
11
11
abstract class Class7
12
12
{
13
- abstract public function abstractFun();
13
+ abstract function abstractFun();
14
14
15
15
16
- public function emptyFun()
16
+ function emptyFun()
17
17
{
18
18
}
19
19
20
20
21
- public function emptyFun2()
21
+ function emptyFun2()
22
22
{
23
23
}
24
24
25
25
26
- public function simple()
26
+ function simple()
27
27
{
28
28
return 1;
29
29
}
30
30
31
31
32
- public function simple2()
32
+ function simple2()
33
33
{
34
34
return 1;
35
35
}
36
36
37
37
38
- public function long()
38
+ function long()
39
39
{
40
40
if ($member instanceof Method) {
41
41
$s = [1, 2, 3];
@@ -47,7 +47,7 @@ abstract class Class7
47
47
}
48
48
49
49
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)
51
51
{
52
52
echo FOO;
53
53
echo \FOO;
@@ -67,7 +67,7 @@ abstract class Class7
67
67
}
68
68
69
69
70
- public function complex()
70
+ function complex()
71
71
{
72
72
echo 1;
73
73
// single line comment
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ enum Enum1
18
18
case Hearts;
19
19
case Spades;
20
20
21
- public const FOO = 123;
22
- public const BAR = self::Clubs;
21
+ const FOO = 123;
22
+ const BAR = self::Clubs;
23
23
24
24
public function foo($x = self::Diamonds)
25
25
{
You can’t perform that action at this time.
0 commit comments