Skip to content

Commit

Permalink
Renamed getPlacholderValue() to getPlaceholderValue(). closes #1277
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Apr 24, 2017
1 parent bb02836 commit 928216d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The changelog contains informations about bug fixes, new features or bc breaking

### Changed

- [#1277](https://github.com/luyadev/luya/issues/1277) Renamed getPlacholderValue() to getPlaceholderValue().
- [#1273](https://github.com/luyadev/luya/issues/1273) Mail component remove adresses() replace with addresses().
- [#1264](https://github.com/luyadev/luya/issues/1264) Renamed $LinkActiveClass property to $linkActiveClass in luya\cms\widgets\LangSwitcher.

Expand Down
2 changes: 1 addition & 1 deletion modules/cms/src/base/InternalBaseBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function getPlaceholderValues()
* @param unknown $placholder
* @return boolean
*/
public function getPlacholderValue($placholder)
public function getPlaceholderValue($placholder)
{
return (isset($this->getPlaceholderValues()[$placholder])) ? $this->getPlaceholderValues()[$placholder] : false;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/cms/src/base/PhpBlockView.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function env($key, $defaultvalue = null)
*/
public function placeholderValue($placeholder)
{
return $this->context->getPlacholderValue($placeholder);
return $this->context->getPlaceholderValue($placeholder);
}

/**
Expand Down

0 comments on commit 928216d

Please sign in to comment.