mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
phpdoc issues
This commit is contained in:
parent
2499e02465
commit
094ffb36f9
@ -67,10 +67,6 @@ class FunctionCasingChecker implements AfterFunctionCallAnalysisInterface, After
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param non-empty-string $function_id
|
||||
* @param FileManipulation[] $file_replacements
|
||||
*/
|
||||
public static function afterFunctionCallAnalysis(AfterFunctionCallAnalysisEvent $event): void
|
||||
{
|
||||
$expr = $event->getExpr();
|
||||
|
@ -17,8 +17,6 @@ class EchoChecker implements AfterStatementAnalysisInterface
|
||||
/**
|
||||
* Called after a statement has been checked
|
||||
*
|
||||
* @param FileManipulation[] $file_replacements
|
||||
*
|
||||
* @return null|false
|
||||
*/
|
||||
public static function afterStatementAnalysis(AfterStatementAnalysisEvent $event): ?bool {
|
||||
|
@ -658,7 +658,7 @@ class ArgumentAnalyzer
|
||||
}
|
||||
|
||||
/**
|
||||
* @param TKeyedArray|TArray|TList|TClassStringMap $unpacked_atomic_array
|
||||
* @param TKeyedArray|TArray|TList|TClassStringMap|null $unpacked_atomic_array
|
||||
* @return null|false
|
||||
* @psalm-suppress ComplexMethod
|
||||
*/
|
||||
|
@ -60,7 +60,7 @@ use function strtolower;
|
||||
class AtomicMethodCallAnalyzer extends CallAnalyzer
|
||||
{
|
||||
/**
|
||||
* @param TNamedObject|TTemplateParam $static_type
|
||||
* @param TNamedObject|TTemplateParam|null $static_type
|
||||
*
|
||||
* @psalm-suppress ComplexMethod it's really complex, but unavoidably so
|
||||
*/
|
||||
|
@ -48,7 +48,7 @@ use function strtolower;
|
||||
class ExistingAtomicMethodCallAnalyzer extends CallAnalyzer
|
||||
{
|
||||
/**
|
||||
* @param TNamedObject|TTemplateParam $static_type
|
||||
* @param TNamedObject|TTemplateParam|null $static_type
|
||||
* @param list<PhpParser\Node\Arg> $args
|
||||
*/
|
||||
public static function analyze(
|
||||
|
@ -37,7 +37,7 @@ use function strtolower;
|
||||
class MethodCallReturnTypeFetcher
|
||||
{
|
||||
/**
|
||||
* @param TNamedObject|TTemplateParam $static_type
|
||||
* @param TNamedObject|TTemplateParam|null $static_type
|
||||
* @param list<PhpParser\Node\Arg> $args
|
||||
*/
|
||||
public static function fetch(
|
||||
|
Loading…
Reference in New Issue
Block a user