init
This commit is contained in:
28
backend/vendor/doctrine/sql-formatter/src/NullHighlighter.php
vendored
Normal file
28
backend/vendor/doctrine/sql-formatter/src/NullHighlighter.php
vendored
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