initial commit; version 22.5.12042
This commit is contained in:
28
libs/Doctrine/SqlFormatter/NullHighlighter.php
Normal file
28
libs/Doctrine/SqlFormatter/NullHighlighter.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\SqlFormatter;
|
||||
|
||||
final class NullHighlighter implements Highlighter
|
||||
{
|
||||
public function highlightToken(int $type, string $value) : string
|
||||
{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function highlightError(string $value) : string
|
||||
{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function highlightErrorMessage(string $value) : string
|
||||
{
|
||||
return ' ' . $value;
|
||||
}
|
||||
|
||||
public function output(string $string) : string
|
||||
{
|
||||
return $string;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user