Skip to content

Commit a5d22be

Browse files
oliverkleeJakeQZ
andauthored
[BUGFIX] Fix the parameter name in a type annotation (#904)
Co-authored-by: JakeQZ <[email protected]>
1 parent 571febb commit a5d22be

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

config/phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,6 @@ parameters:
108108
count: 1
109109
path: ../src/Property/Charset.php
110110

111-
-
112-
message: '#^PHPDoc tag @param references unknown parameter\: \$oCharset$#'
113-
identifier: parameter.notFound
114-
count: 1
115-
path: ../src/Property/Charset.php
116-
117111
-
118112
message: '#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
119113
identifier: method.notFound

src/Property/Charset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getLineNo(): int
5656
}
5757

5858
/**
59-
* @param string|CSSString $oCharset
59+
* @param string|CSSString $sCharset
6060
*/
6161
public function setCharset($sCharset): void
6262
{

0 commit comments

Comments
 (0)