1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-13 09:47:29 +01:00
psalm/tests/Config/Plugin/Hook/StringProvider/TSqlSelectString.php
Matthew Brown da42be175f Apply PHPCS fixes
Fixes #1880
2019-07-05 16:27:53 -04:00

30 lines
502 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()
{
return 'sql-select-string(' . $this->value . ')';
}
/**
* @return bool
*/
public function canBeFullyExpressedInPhp()
{
return false;
}
}