Lines Matching refs:ReflectionMethod
980 * @param ReflectionMethod $method
986 …private function generateMockedMethodDefinitionFromExisting($templateDir, ReflectionMethod $method…
1112 * @param ReflectionMethod $method
1116 private function canMockMethod(ReflectionMethod $method)
1153 * @param ReflectionMethod $method
1162 private function getMethodParameters(ReflectionMethod $method, $forCall = false)
1266 * @param ReflectionMethod $method
1270 private function hasReturnType(ReflectionMethod $method)
1272 return method_exists(ReflectionMethod::class, 'hasReturnType') && $method->hasReturnType();
1276 * @param ReflectionMethod $method
1280 private function allowsReturnNull(ReflectionMethod $method)
1282 return method_exists(ReflectionMethod::class, 'getReturnType')