Skip to content

Commit b561b72

Browse files
authored
[CLEANUP] Fix method name casing in a call (#1167)
1 parent 38de556 commit b561b72

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
@@ -162,12 +162,6 @@ parameters:
162162
count: 3
163163
path: ../src/Value/CalcFunction.php
164164

165-
-
166-
message: '#^Call to method Sabberworm\\CSS\\Value\\Color\:\:hasNoneAsComponentValue\(\) with incorrect case\: HasNoneAsComponentValue$#'
167-
identifier: method.nameCase
168-
count: 1
169-
path: ../src/Value/Color.php
170-
171165
-
172166
message: '#^Cannot call method getSize\(\) on Sabberworm\\CSS\\Value\\Value\|string\.$#'
173167
identifier: method.nonObject

src/Value/Color.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private function renderAsHex(): string
317317
*/
318318
private function shouldRenderInModernSyntax(): bool
319319
{
320-
if ($this->HasNoneAsComponentValue()) {
320+
if ($this->hasNoneAsComponentValue()) {
321321
return true;
322322
}
323323

0 commit comments

Comments
 (0)