1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/tests/Config/Plugin/Hook/StringProvider/TSqlSelectString.php
orklah ead107fa9e
More return types (#4173)
* add native return types

* redundant phpdoc
2020-09-12 11:24:05 -04:00

21 lines
458 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';
}
public function getId(bool $nested = true): string
{
return 'sql-select-string(' . $this->value . ')';
}
public function canBeFullyExpressedInPhp(): bool
{
return false;
}
}