File tree 2 files changed +4
-13
lines changed
2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,11 @@ class AbstractGeneratorTest extends TestCase
14
14
{
15
15
public function testConstructor ()
16
16
{
17
- $ generator = $ this ->getMockForAbstractClass (
18
- AbstractGenerator::class,
17
+ $ generator = $ this ->getMockForAbstractClass (AbstractGenerator::class, [
19
18
[
20
- [
21
- 'indentation ' => 'foo ' ,
22
- ],
19
+ 'indentation ' => 'foo ' ,
23
20
],
24
- '' ,
25
- true ,
26
- true ,
27
- true ,
28
- [],
29
- false
30
- );
21
+ ]);
31
22
32
23
self ::assertInstanceOf (GeneratorInterface::class, $ generator );
33
24
self ::assertSame ('foo ' , $ generator ->getIndentation ());
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function defaultConstant($con = self::FOO)
75
75
76
76
}
77
77
78
- public function defaultObjectEqualsNullAndNotOptional (?\stdClass $ a , $ b )
78
+ public function nullableAndRequired (?\stdClass $ a , $ b )
79
79
{
80
80
81
81
}
You can’t perform that action at this time.
0 commit comments