Skip to content

Commit

Permalink
Merge pull request #22 from deanblackborough/v1.01.1
Browse files Browse the repository at this point in the history
V1.01.1
  • Loading branch information
deanblackborough authored Dec 4, 2017
2 parents 06d58e5 + a177432 commit 2e93f81
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 24 deletions.
37 changes: 21 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,37 @@

Full changelog for Zend Framework 3 view helpers library.

## v1.01.1 - Minor corrections - 2017-12-04

* Type hints missing.
* Unused property.

## v1.01.0 - Alert component - 2017-12-02

* Added a Bootstrap 4 alert view helper
* Removed a redundant property in the button view helper
* Type hints missing
* Added missing dates in CHANGELOG
* Added a Bootstrap 4 alert view helper.
* Removed a redundant property in the button view helper.
* Type hints missing.
* Added missing dates in CHANGELOG.

## v1.00.0 - Card component (Official release) - 2017-10-13

Official v1.00.0 release, tests in place for all the Bootstrap 4 view helpers.

* Card view helper extends Bootstrap4Helper
* Card view helper supports setTextStyle() and setBgStyle()
* Added tests for card view helper
* setFooter() in card view helper broken, incorrect property being used to generated HTML
* Fixed a couple of bugs with the navbar view helper
* Added tests for the navbar view helper
* Card view helper extends Bootstrap4Helper.
* Card view helper supports setTextStyle() and setBgStyle().
* Added tests for card view helper.
* setFooter() in card view helper broken, incorrect property being used to generated HTML.
* Fixed a couple of bugs with the navbar view helper.
* Added tests for the navbar view helper.

## v0.66.0 - Minor updates - 2017-10-11

* Updated Bootstrap 4 jumbotron view helper, extends Bootstrap4Helper
* Updated Bootstrap 4 multiple progress bar view helper, extends Bootstrap4Helper
* Updated Bootstrap 4 badge view helper, extends Bootstrap4Helper
* Updated Bootstrap 4 button view helper, extends Bootstrap4Helper
* Added combined tests to view helpers
* Corrected README
* Updated Bootstrap 4 jumbotron view helper, extends Bootstrap4Helper.
* Updated Bootstrap 4 multiple progress bar view helper, extends Bootstrap4Helper.
* Updated Bootstrap 4 badge view helper, extends Bootstrap4Helper.
* Updated Bootstrap 4 button view helper, extends Bootstrap4Helper.
* Added combined tests to view helpers.
* Corrected README.

## v0.65.0 - Base class - 2017-10-11

Expand Down
2 changes: 1 addition & 1 deletion src/Bootstrap4Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function setBgStyle(string $color) : Bootstrap4Alert
*
* @return Bootstrap4Alert
*/
public function setHeading(string $heading, $heading_level = 4) : Bootstrap4Alert
public function setHeading(string $heading, int $heading_level = 4) : Bootstrap4Alert
{
$this->heading = $heading;
$this->heading_level = $heading_level;
Expand Down
4 changes: 2 additions & 2 deletions src/Bootstrap4Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __invoke(string $label): Bootstrap4Button
*
* @return Bootstrap4Button
*/
public function setBgStyle($color) : Bootstrap4Button
public function setBgStyle(string $color) : Bootstrap4Button
{
$this->assignBgStyle($color);

Expand Down Expand Up @@ -130,7 +130,7 @@ public function setOutlineStyle(string $style): Bootstrap4Button
*
* @return Bootstrap4Button
*/
public function setTextStyle($color) : Bootstrap4Button
public function setTextStyle(string $color) : Bootstrap4Button
{
$this->assignTextStyle($color);

Expand Down
4 changes: 2 additions & 2 deletions src/Bootstrap4Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function setHeader(string $content) : Bootstrap4Card
*
* @return Bootstrap4Card
*/
public function setBgStyle($color) : Bootstrap4Card
public function setBgStyle(string $color) : Bootstrap4Card
{
$this->assignBgStyle($color);

Expand All @@ -582,7 +582,7 @@ protected function assignBgStyle(string $color)
*
* @return Bootstrap4Card
*/
public function setTextStyle($color) : Bootstrap4Card
public function setTextStyle(string $color) : Bootstrap4Card
{
$this->assignTextStyle($color);

Expand Down
4 changes: 2 additions & 2 deletions src/Bootstrap4Jumbotron.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function fluid() : Bootstrap4Jumbotron
*
* @return Bootstrap4Jumbotron
*/
public function setBgStyle($color) : Bootstrap4Jumbotron
public function setBgStyle(string $color) : Bootstrap4Jumbotron
{
$this->assignBgStyle($color);

Expand Down Expand Up @@ -112,7 +112,7 @@ public function setHeadingDisplayLevel(int $level) : Bootstrap4Jumbotron
*
* @return Bootstrap4Jumbotron
*/
public function setTextStyle($color) : Bootstrap4Jumbotron
public function setTextStyle(string $color) : Bootstrap4Jumbotron
{
$this->assignTextStyle($color);

Expand Down
1 change: 0 additions & 1 deletion src/Bootstrap4ProgressBarMultiple.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ private function reset(): void
$this->bg_colors = [];
$this->striped = false;
$this->animate = false;
$this->label = null;
$this->height = null;
}

Expand Down

0 comments on commit 2e93f81

Please sign in to comment.