1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 02:27:59 +01:00
psalm/tests/Config/Plugin/Hook/StringProvider/TSqlSelectString.php
2020-09-07 16:00:27 -04:00

27 lines
518 B
PHP

<?php
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
class TSqlSelectString extends \Psalm\Type\Atomic\TLiteralString
{
public function getKey(bool $include_extra = true) : string
{
return 'sql-select-string';
}
/**
* @return string
*/
public function getId(bool $nested = true)
{
return 'sql-select-string(' . $this->value . ')';
}
/**
* @return bool
*/
public function canBeFullyExpressedInPhp()
{
return false;
}
}