fix merge

This commit is contained in:
Nicolas Grekas 2019-09-20 12:11:58 +02:00
parent e323097dac
commit b4e2ba2c04
2 changed files with 4 additions and 2 deletions

View File

@ -201,7 +201,7 @@ class QuestionHelperTest extends AbstractQuestionHelperTest
public function testAskWithAutocompleteCallback()
{
if (!$this->hasSttyAvailable()) {
if (!Terminal::hasSttyAvailable()) {
$this->markTestSkipped('`stty` is required to test autocomplete functionality');
}

View File

@ -74,7 +74,9 @@ interface ResponseInterface
public function toArray(bool $throw = true): array;
/**
* Cancels the response.
* Closes the response stream and all related buffers.
*
* No further chunk will be yielded after this method has been called.
*/
public function cancel(): void;