1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add better docs to TypeComparisonResult

This commit is contained in:
Matthew Brown 2021-12-19 17:59:48 +00:00 committed by Bruce Weirdan
parent ae0063051a
commit 1e115da372
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D

View File

@ -7,7 +7,12 @@ use Psalm\Type\Union;
class TypeComparisonResult
{
/** @var ?bool */
/**
* This is used to trigger `InvalidScalarArgument` in situations where we know PHP
* will try to coerce one scalar type to another.
*
* @var ?bool
*/
public $scalar_type_match_found;
/** @var ?bool */