From 30200565ee8faf87b2e412a7fdfc825e77f0bb4d Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 11 Feb 2025 12:11:35 +0100 Subject: [PATCH] [BUGFIX] Fix the parameter name in a type annotation --- config/phpstan-baseline.neon | 6 ------ src/Property/Charset.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/config/phpstan-baseline.neon b/config/phpstan-baseline.neon index 81ecb713f..a56ef7fed 100644 --- a/config/phpstan-baseline.neon +++ b/config/phpstan-baseline.neon @@ -84,12 +84,6 @@ parameters: count: 1 path: ../src/Property/Charset.php - - - message: '#^PHPDoc tag @param references unknown parameter\: \$oCharset$#' - identifier: parameter.notFound - count: 1 - path: ../src/Property/Charset.php - - message: '#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#' identifier: method.notFound diff --git a/src/Property/Charset.php b/src/Property/Charset.php index 90dfeabfa..94a9f9830 100644 --- a/src/Property/Charset.php +++ b/src/Property/Charset.php @@ -56,7 +56,7 @@ public function getLineNo(): int } /** - * @param string|CSSString $oCharset + * @param string|CSSString $sCharset */ public function setCharset($sCharset): void {