1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/src/Psalm/Plugin/EventHandler/StringInterpreterInterface.php

15 lines
343 B
PHP
Raw Normal View History

<?php
namespace Psalm\Plugin\EventHandler;
use Psalm\Plugin\EventHandler\Event\StringInterpreterEvent;
2021-12-13 04:45:57 +01:00
use Psalm\Type\Atomic\TLiteralString;
interface StringInterpreterInterface
{
/**
* Called after a statement has been checked
*/
2021-12-13 04:45:57 +01:00
public static function getTypeFromValue(StringInterpreterEvent $event): ?TLiteralString;
}