Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9543b36

Browse files
committed
minor #16972 [2.7][Console] Table: fix some PhpDoc (ogizanagi)
This PR was merged into the 2.7 branch. Discussion ---------- [2.7][Console] Table: fix some PhpDoc | Q | A | ------------- | --- | Fixed tickets | n/a | License | MIT Commits ------- 1eaef57 [2.7][Console] Table: fix some PhpDoc
2 parents f253d62 + 1eaef57 commit 9543b36

File tree

1 file changed

+2
-4
lines changed
  • src/Symfony/Component/Console/Helper

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ private function calculateNumberOfColumns()
332332
$columns[] = $this->getNumberOfColumns($row);
333333
}
334334

335-
return $this->numberOfColumns = max($columns);
335+
$this->numberOfColumns = max($columns);
336336
}
337337

338338
private function buildTableRows($rows)
@@ -487,7 +487,7 @@ private function getNumberOfColumns(array $row)
487487
*
488488
* @param array $row
489489
*
490-
* @return array()
490+
* @return array
491491
*/
492492
private function getRowColumns($row)
493493
{
@@ -529,8 +529,6 @@ private function getColumnWidth($column)
529529
/**
530530
* Gets column width.
531531
*
532-
* @param int $column
533-
*
534532
* @return int
535533
*/
536534
private function getColumnSeparatorWidth()

0 commit comments

Comments
 (0)