Skip to content

Commit 0d6dc8e

Browse files
committed
Fix the missing colon in get/setInputStream deprecation warning
1 parent 0005958 commit 0d6dc8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Console/Helper/QuestionHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function ask(InputInterface $input, OutputInterface $output, Question $qu
8282
*/
8383
public function setInputStream($stream)
8484
{
85-
@trigger_error(sprintf('The %s() method is deprecated since version 3.2 and will be removed in 4.0. Use %s:setStream() instead.', __METHOD__, StreamableInputInterface::class), E_USER_DEPRECATED);
85+
@trigger_error(sprintf('The %s() method is deprecated since version 3.2 and will be removed in 4.0. Use %s::setStream() instead.', __METHOD__, StreamableInputInterface::class), E_USER_DEPRECATED);
8686

8787
if (!is_resource($stream)) {
8888
throw new InvalidArgumentException('Input stream must be a valid resource.');
@@ -102,7 +102,7 @@ public function setInputStream($stream)
102102
public function getInputStream()
103103
{
104104
if (0 === func_num_args() || func_get_arg(0)) {
105-
@trigger_error(sprintf('The %s() method is deprecated since version 3.2 and will be removed in 4.0. Use %s:getStream() instead.', __METHOD__, StreamableInputInterface::class), E_USER_DEPRECATED);
105+
@trigger_error(sprintf('The %s() method is deprecated since version 3.2 and will be removed in 4.0. Use %s::getStream() instead.', __METHOD__, StreamableInputInterface::class), E_USER_DEPRECATED);
106106
}
107107

108108
return $this->inputStream;

0 commit comments

Comments
 (0)