@@ -39,21 +39,21 @@ public function dataHasMethod(): array
39
39
public function testHasMethod (string $ className , bool $ result )
40
40
{
41
41
$ classReflection = $ this ->broker ->getClass ($ className );
42
- $ this -> assertSame ($ result , $ this ->extension ->hasMethod ($ classReflection , 'select ' ));
42
+ self :: assertSame ($ result , $ this ->extension ->hasMethod ($ classReflection , 'select ' ));
43
43
}
44
44
45
45
public function testGetMethod ()
46
46
{
47
47
$ classReflection = $ this ->broker ->getClass (\Dibi \Fluent::class);
48
48
$ methodReflection = $ this ->extension ->getMethod ($ classReflection , 'select ' );
49
- $ this -> assertSame ('select ' , $ methodReflection ->getName ());
50
- $ this -> assertSame ($ classReflection , $ methodReflection ->getDeclaringClass ());
51
- $ this -> assertFalse ($ methodReflection ->isStatic ());
52
- $ this -> assertEmpty ($ methodReflection ->getParameters ());
53
- $ this -> assertTrue ($ methodReflection ->isVariadic ());
54
- $ this -> assertFalse ($ methodReflection ->isPrivate ());
55
- $ this -> assertTrue ($ methodReflection ->isPublic ());
56
- $ this -> assertSame (\Dibi \Fluent::class, $ methodReflection ->getReturnType ()->describe ());
49
+ self :: assertSame ('select ' , $ methodReflection ->getName ());
50
+ self :: assertSame ($ classReflection , $ methodReflection ->getDeclaringClass ());
51
+ self :: assertFalse ($ methodReflection ->isStatic ());
52
+ self :: assertEmpty ($ methodReflection ->getParameters ());
53
+ self :: assertTrue ($ methodReflection ->isVariadic ());
54
+ self :: assertFalse ($ methodReflection ->isPrivate ());
55
+ self :: assertTrue ($ methodReflection ->isPublic ());
56
+ self :: assertSame (\Dibi \Fluent::class, $ methodReflection ->getReturnType ()->describe ());
57
57
}
58
58
59
59
}
0 commit comments