remove BC breaking argument

This commit is contained in:
Christian Flothmann 2016-06-16 10:19:26 +02:00
parent 9759a359f5
commit f574330be4

View File

@ -99,9 +99,9 @@ class QuestionHelper extends Helper
* *
* @return resource * @return resource
*/ */
public function getInputStream($triggerDeprecationError = true) public function getInputStream()
{ {
if ($triggerDeprecationError) { if (0 === func_num_args() || func_get_arg(0)) {
@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); @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);
} }