mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
8db4bc7691
Also reduce false positives on intersections of templates
30 lines
521 B
PHP
30 lines
521 B
PHP
<?php
|
|
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
|
|
|
|
class TSqlSelectString extends \Psalm\Type\Atomic\TLiteralString
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getKey()
|
|
{
|
|
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;
|
|
}
|
|
}
|