Skip to content

Commit 0c7b351

Browse files
Remove strtolower
1 parent bcaf46c commit 0c7b351

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Type/PHPUnit/MockForIntersectionDynamicReturnTypeExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public function getClass(): string
2828

2929
public function isMethodSupported(MethodReflection $methodReflection): bool
3030
{
31-
return strtolower($methodReflection->getName()) === 'createmockforintersectionofinterfaces';
31+
return $methodReflection->getName() === 'createMockForIntersectionOfInterfaces';
3232
}
3333

3434
public function isStaticMethodSupported(MethodReflection $methodReflection): bool
3535
{
36-
return strtolower($methodReflection->getName()) === 'createstubforintersectionofinterfaces';
36+
return $methodReflection->getName() === 'createStubForIntersectionOfInterfaces';
3737
}
3838

3939
public function getTypeFromStaticMethodCall(MethodReflection $methodReflection, StaticCall $methodCall, Scope $scope): ?Type

0 commit comments

Comments
 (0)