Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 1e52d7e

Browse files
committed
Fix regression in KernelOutput
1 parent e9f4b2b commit 1e52d7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/KernelOutput.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(ExecuteAction $executeAction, LoggerInterface $logge
5454
* @param bool $newline Whether to add a newline
5555
* @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
5656
*/
57-
public function write($messages, bool $newline = false, int $options = self::OUTPUT_NORMAL)
57+
public function write($messages, $newline = false, $options = self::OUTPUT_NORMAL)
5858
{
5959
$types = self::OUTPUT_NORMAL | self::OUTPUT_RAW | self::OUTPUT_PLAIN;
6060
$type = $types & $options ?: self::OUTPUT_NORMAL;
@@ -90,7 +90,7 @@ public function write($messages, bool $newline = false, int $options = self::OUT
9090
* @param string|array $messages The message as an array of lines of a single string
9191
* @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
9292
*/
93-
public function writeln($messages, int $options = 0)
93+
public function writeln($messages, $options = 0)
9494
{
9595
$this->write($messages, true, $options);
9696
}
@@ -100,7 +100,7 @@ public function writeln($messages, int $options = 0)
100100
*
101101
* @param int $level The level of verbosity (one of the VERBOSITY constants)
102102
*/
103-
public function setVerbosity(int $level)
103+
public function setVerbosity($level)
104104
{
105105
// TODO: Implement setVerbosity() method.
106106
}
@@ -159,7 +159,7 @@ public function isDebug(): bool
159159
* Sets the decorated flag.
160160
* @param bool $decorated Whether to decorate the messages
161161
*/
162-
public function setDecorated(bool $decorated)
162+
public function setDecorated($decorated)
163163
{
164164
// Interface compliance
165165
}

0 commit comments

Comments
 (0)