mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +01:00
39402c233d
Co-authored-by: ralila <>
26 lines
589 B
PHP
26 lines
589 B
PHP
<?php
|
|
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
|
|
|
|
use Psalm\Type\Atomic\TLiteralString;
|
|
|
|
/**
|
|
* Special type, specifically for consumption by plugins.
|
|
*/
|
|
class TSqlSelectString extends 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(int $php_major_version, int $php_minor_version): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|