mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 08:49:52 +01:00
210 B
210 B
InvalidConstantAssignmentValue
Emitted when attempting to assign a value to a class constant that cannot contain that type.
<?php
class Foo {
/** @var int */
public const BAR = "bar";
}