Skip to content

Commit a7d4489

Browse files
committed
Fix php doc in Table class
1 parent 7890f33 commit a7d4489

File tree

1 file changed

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

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,15 @@ public function setRow($column, array $row)
188188
* Renders table to output.
189189
*
190190
* Example:
191+
* <code>
191192
* +---------------+-----------------------+------------------+
192193
* | ISBN | Title | Author |
193194
* +---------------+-----------------------+------------------+
194195
* | 99921-58-10-7 | Divine Comedy | Dante Alighieri |
195196
* | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
196197
* | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien |
197198
* +---------------+-----------------------+------------------+
199+
* </code>
198200
*/
199201
public function render()
200202
{
@@ -226,7 +228,7 @@ public function render()
226228
/**
227229
* Renders horizontal header separator.
228230
*
229-
* Example: +-----+-----------+-------+
231+
* Example: <code>+-----+-----------+-------+</code>
230232
*/
231233
private function renderRowSeparator()
232234
{
@@ -257,7 +259,7 @@ private function renderColumnSeparator()
257259
/**
258260
* Renders table row.
259261
*
260-
* Example: | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
262+
* Example: <code>| 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |</code>
261263
*
262264
* @param array $row
263265
* @param string $cellFormat

0 commit comments

Comments
 (0)