mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 19:07:00 +01:00
15 lines
333 B
PHP
15 lines
333 B
PHP
|
<?php
|
||
|
|
||
|
namespace Psalm\Plugin\EventHandler;
|
||
|
|
||
|
use Psalm\Plugin\EventHandler\Event\StringInterpreterEvent;
|
||
|
use Psalm\Type;
|
||
|
|
||
|
interface StringInterpreterInterface
|
||
|
{
|
||
|
/**
|
||
|
* Called after a statement has been checked
|
||
|
*/
|
||
|
public static function getTypeFromValue(StringInterpreterEvent $event): ?Type\Atomic\TLiteralString;
|
||
|
}
|