Skip to content

Commit

Permalink
Fix variable name in getOptionText (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored and colinmollenhour committed Aug 29, 2019
1 parent 109019c commit 94545dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct()
* Get a text for option value
*
* @param string|integer $value
* @return string
* @return string|false
*/
public function getOptionText($value)
{
Expand All @@ -57,7 +57,7 @@ public function getOptionText($value)
}
}
if (isset($options[$value])) {
return $option[$value];
return $options[$value];
}
return false;
}
Expand Down

0 comments on commit 94545dd

Please sign in to comment.