File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function testAbstract() {
43
43
44
44
$ this ->assertEquals (
45
45
new Stmt \Class_ ('Test ' , array (
46
- 'type ' => Stmt \Class_::MODIFIER_ABSTRACT
46
+ 'flags ' => Stmt \Class_::MODIFIER_ABSTRACT
47
47
)),
48
48
$ node
49
49
);
@@ -57,7 +57,7 @@ public function testFinal() {
57
57
58
58
$ this ->assertEquals (
59
59
new Stmt \Class_ ('Test ' , array (
60
- 'type ' => Stmt \Class_::MODIFIER_FINAL
60
+ 'flags ' => Stmt \Class_::MODIFIER_FINAL
61
61
)),
62
62
$ node
63
63
);
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ public function testModifiers() {
24
24
25
25
$ this ->assertEquals (
26
26
new Stmt \ClassMethod ('test ' , array (
27
- 'type ' => Stmt \Class_::MODIFIER_PUBLIC
28
- | Stmt \Class_::MODIFIER_ABSTRACT
29
- | Stmt \Class_::MODIFIER_STATIC ,
27
+ 'flags ' => Stmt \Class_::MODIFIER_PUBLIC
28
+ | Stmt \Class_::MODIFIER_ABSTRACT
29
+ | Stmt \Class_::MODIFIER_STATIC ,
30
30
'stmts ' => null ,
31
31
)),
32
32
$ node
@@ -40,8 +40,8 @@ public function testModifiers() {
40
40
41
41
$ this ->assertEquals (
42
42
new Stmt \ClassMethod ('test ' , array (
43
- 'type ' => Stmt \Class_::MODIFIER_PROTECTED
44
- | Stmt \Class_::MODIFIER_FINAL
43
+ 'flags ' => Stmt \Class_::MODIFIER_PROTECTED
44
+ | Stmt \Class_::MODIFIER_FINAL
45
45
)),
46
46
$ node
47
47
);
You can’t perform that action at this time.
0 commit comments