Skip to content

Commit

Permalink
Restored Table\Column documentation broken by #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 11, 2022
1 parent a4d3b87 commit 7faee16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Table/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function __construct($content = null, $align = null, $colSpan = null, $ch
*
* @param string $content Content of the column
* @param string $charset The charset of the content
* @throws Exception\InvalidArgumentException
* @throws Exception\InvalidArgumentException When $content is not a string.
* @return Column
*/
public function setContent($content, $charset = null)
Expand Down Expand Up @@ -123,7 +123,7 @@ public function setContent($content, $charset = null)
* Set the align
*
* @param string $align Align of the column
* @throws Exception\OutOfBoundsException
* @throws Exception\OutOfBoundsException When supplied align is invalid.
* @return Column
*/
public function setAlign($align)
Expand All @@ -141,7 +141,7 @@ public function setAlign($align)
* Set the colspan
*
* @param int $colSpan
* @throws Exception\InvalidArgumentException
* @throws Exception\InvalidArgumentException When $colSpan is smaller than 1.
* @return Column
*/
public function setColSpan($colSpan)
Expand Down Expand Up @@ -170,8 +170,8 @@ public function getColSpan()
*
* @param int $columnWidth The width of the column
* @param int $padding The padding for the column
* @throws Exception\InvalidArgumentException
* @throws Exception\OutOfBoundsException
* @throws Exception\InvalidArgumentException When $columnWidth is lower than 1.
* @throws Exception\OutOfBoundsException When padding is greater than columnWidth.
* @return string
*/
public function render($columnWidth, $padding = 0)
Expand Down

0 comments on commit 7faee16

Please sign in to comment.