This commit changes the api of the stream classes, since indication of success or failure is no longer necessary.
19 lines
272 B
PHP
19 lines
272 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Nih\CommandBuilder;
|
|
|
|
use Override;
|
|
|
|
final class ChildStdin implements StdioInterface
|
|
{
|
|
use StreamWriteTrait;
|
|
|
|
#[Override]
|
|
public function getDescriptionSpec(int $fd): mixed
|
|
{
|
|
return $this->stream;
|
|
}
|
|
}
|