Skip to content

Commit 38d1226

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Console] Update Cursor helper to use injected argument
2 parents 3f83dbb + a5549f3 commit 38d1226

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/console/helpers/cursor.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ of the output:
2222
{
2323
// ...
2424
25-
public function __invoke(OutputInterface $output): int
25+
public function __invoke(Cursor $cursor, OutputInterface $output): int
2626
{
2727
// ...
2828
29-
$cursor = new Cursor($output);
30-
3129
// moves the cursor to a specific column (1st argument) and
3230
// row (2nd argument) position
3331
$cursor->moveToPosition(7, 11);

0 commit comments

Comments
 (0)