Files
roi-theme/wp-content/plugins/google-site-kit/third-party/guzzlehttp/psr7/src/NoSeekStream.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

24 lines
629 B
PHP
Executable File

<?php
declare (strict_types=1);
namespace Google\Site_Kit_Dependencies\GuzzleHttp\Psr7;
use Google\Site_Kit_Dependencies\Psr\Http\Message\StreamInterface;
/**
* Stream decorator that prevents a stream from being seeked.
*/
final class NoSeekStream implements \Google\Site_Kit_Dependencies\Psr\Http\Message\StreamInterface
{
use StreamDecoratorTrait;
/** @var StreamInterface */
private $stream;
public function seek($offset, $whence = \SEEK_SET) : void
{
throw new \RuntimeException('Cannot seek a NoSeekStream');
}
public function isSeekable() : bool
{
return \false;
}
}