View file phpBB3/vendor/s9e/regexp-builder/src/Output/Bytes.php
<?php declare(strict_types=1);
/**
* @package s9e\RegexpBuilder
* @copyright Copyright (c) 2016-2022 The s9e authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\RegexpBuilder\Output;
use function chr;
class Bytes extends BaseImplementation
{
/** {@inheritdoc} */
protected $maxValue = 255;
/**
* {@inheritdoc}
*/
protected function outputValidValue(int $value): string
{
return chr($value);
}
}