File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
final class StaticReflectionService implements ReflectionService
20
20
{
21
- public function getParentClasses (string $ class ): array
21
+ public function getParentClasses ($ class ): array
22
22
{
23
23
return [];
24
24
}
25
25
26
- public function getClassShortName (string $ class ): string
26
+ public function getClassShortName ($ class ): string
27
27
{
28
28
$ nsSeparatorLastPosition = strrpos ($ class , '\\' );
29
29
@@ -34,7 +34,7 @@ public function getClassShortName(string $class): string
34
34
return $ class ;
35
35
}
36
36
37
- public function getClassNamespace (string $ class ): string
37
+ public function getClassNamespace ($ class ): string
38
38
{
39
39
$ namespace = '' ;
40
40
@@ -45,17 +45,17 @@ public function getClassNamespace(string $class): string
45
45
return $ namespace ;
46
46
}
47
47
48
- public function getClass (string $ class ): \ReflectionClass
48
+ public function getClass ($ class ): \ReflectionClass
49
49
{
50
50
return new \ReflectionClass ($ class );
51
51
}
52
52
53
- public function getAccessibleProperty (string $ class , string $ property ): ?\ReflectionProperty
53
+ public function getAccessibleProperty ($ class , $ property ): ?\ReflectionProperty
54
54
{
55
55
return null ;
56
56
}
57
57
58
- public function hasPublicMethod (string $ class , string $ method ): bool
58
+ public function hasPublicMethod ($ class , $ method ): bool
59
59
{
60
60
return true ;
61
61
}
You can’t perform that action at this time.
0 commit comments