Skip to content

Commit

Permalink
[Console] Make Helper\Table::setStyle() chainable
Browse files Browse the repository at this point in the history
Fixes #10874.
  • Loading branch information
stloyd committed May 9, 2014
1 parent ff9f06b commit de2410a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/Console/Helper/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ public function setStyle($name)
} else {
throw new \InvalidArgumentException(sprintf('Style "%s" is not defined.', $name));
}

return $this;
}

/**
Expand Down

0 comments on commit de2410a

Please sign in to comment.