Skip to content

Commit

Permalink
Add ListBlock::setTight() method
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Mar 29, 2018
1 parent d49d53e commit b02bfcb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip

## [Unreleased][unreleased]

## [0.17.4] - 2017-03-28

### Added

- Added `ListBlock::setTight()` method

## [0.17.3] - 2017-03-26

### Fixed
Expand Down Expand Up @@ -631,7 +637,8 @@ An unused constant and static method were deprecated and will be removed in a fu
### Added
- Initial commit (compatible with jgm/stmd:spec.txt @ 0275f34)

[unreleased]: https://github.com/thephpleague/commonmark/compare/0.17.3...HEAD
[unreleased]: https://github.com/thephpleague/commonmark/compare/0.17.4...HEAD
[0.17.4]: https://github.com/thephpleague/commonmark/compare/0.17.3...0.17.4
[0.17.3]: https://github.com/thephpleague/commonmark/compare/0.17.2...0.17.3
[0.17.2]: https://github.com/thephpleague/commonmark/compare/0.17.1...0.17.2
[0.17.1]: https://github.com/thephpleague/commonmark/compare/0.17.0...0.17.1
Expand Down
12 changes: 12 additions & 0 deletions src/Block/Element/ListBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,16 @@ public function isTight()
{
return $this->tight;
}

/**
* @param bool $tight
*
* @return $this
*/
public function setTight($tight)
{
$this->tight = $tight;

return $this;
}
}

0 comments on commit b02bfcb

Please sign in to comment.