芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
scanner = new MacroScanner(); $this->methodReflectionFactory = $methodReflectionFactory; } /** * {@inheritdoc} */ public function hasMethod(ClassReflection $classReflection, string $methodName): bool { return $this->scanner->hasMethod($classReflection->getName(), $methodName); } /** * {@inheritdoc} */ public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection { $builtinMacro = $this->scanner->getMethod($classReflection->getName(), $methodName); return $this->methodReflectionFactory->create( $classReflection, null, $builtinMacro, $classReflection->getActiveTemplateTypeMap(), [], TypehintHelper::decideTypeFromReflection($builtinMacro->getReturnType()), null, null, $builtinMacro->isDeprecated()->yes(), $builtinMacro->isInternal(), $builtinMacro->isFinal(), $builtinMacro->getDocComment() ); } }