GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 5-5 lines in 2 locations

src/Console/Annotations/ParamAnnotationHandler.php 1 location

@@ 65-69 (lines=5) @@
62
        $paramMeta = $command->getParamMeta($paramName);
63
        $paramMeta or \PhpBoot\abort(new AnnotationSyntaxException("$className::$target param $paramName not exist "));
64
        //TODO 检测声明的类型和注释的类型是否匹配
65
        if($paramType){
66
            $paramMeta->type = TypeHint::normalize($paramType, $className);//or \PhpBoot\abort(new AnnotationSyntaxException("{$container->getClassName()}::{$ann->parent->name} @{$ann->name} syntax error, param $paramName unknown type:$paramType "));
67
            $container = ContainerFactory::create($entityBuilder, $paramMeta->type);
68
            $paramMeta->container = $container;
69
        }
70
        $paramMeta->description = $paramDoc;
71
    }
72
}

src/Controller/Annotations/ParamAnnotationHandler.php 1 location

@@ 64-68 (lines=5) @@
61
        $paramMeta = $route->getRequestHandler()->getParamMeta($paramName);
62
        $paramMeta or \PhpBoot\abort(new AnnotationSyntaxException("$className::$target param $paramName not exist "));
63
        //TODO 检测声明的类型和注释的类型是否匹配
64
        if($paramType){
65
            $paramMeta->type = TypeHint::normalize($paramType, $className);//or \PhpBoot\abort(new AnnotationSyntaxException("{$container->getClassName()}::{$ann->parent->name} @{$ann->name} syntax error, param $paramName unknown type:$paramType "));
66
            $container = ContainerFactory::create($entityBuilder, $paramMeta->type);
67
            $paramMeta->container = $container;
68
        }
69
        $paramMeta->description = $paramDoc;
70
71
        $responseHandler = $route->getResponseHandler();