Skip to content

Commit d619713

Browse files
committed
Fix property type coercion psalm error
1 parent 022b7e9 commit d619713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Node/Identifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ final class Identifier extends Node implements \Stringable
4747
*/
4848
public function __construct(string $value)
4949
{
50+
/** @psalm-suppress PropertyTypeCoercion */
5051
$this->value = \trim($value);
5152

5253
assert($this->value !== '', new \InvalidArgumentException(

0 commit comments

Comments
 (0)