Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
[RFT] typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bolch committed Apr 7, 2015
1 parent 1d61011 commit a54bfc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Configuration/AbstractConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function setValueIfExists($tsKey, $internalPropertyName = NULL) {
* @param string $internalPropertyName optional property name if it is deiferent from the tsKey
*/
protected function setValueIfExistsAndNotNothing($tsKey, $internalPropertyName = NULL) {
if ($this->configValueExiststAndNotNothing($tsKey)) {
if ($this->configValueExistsAndNotNothing($tsKey)) {
$property = $internalPropertyName ? $internalPropertyName : $tsKey;
$this->$property = $this->settings[$tsKey];
}
Expand All @@ -142,7 +142,7 @@ protected function setValueIfExistsAndNotNothing($tsKey, $internalPropertyName =
* @param string $tsKey
* @return bool True, if array key exists in settings and is not empty
*/
protected function configValueExiststAndNotNothing($tsKey) {
protected function configValueExistsAndNotNothing($tsKey) {
return array_key_exists($tsKey, $this->settings) && (is_array($this->settings[$tsKey]) || trim($this->settings[$tsKey]));
}

Expand Down

0 comments on commit a54bfc9

Please sign in to comment.