Skip to content
Permalink
Browse files

remove consumed option, declare correct return types

  • Loading branch information...
Jonas Hartmann
Jonas Hartmann committed Jul 18, 2016
1 parent 87bcbac commit c31b83eb6e19e5d6c9e4114504fcffcbaa7ee1b3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/View/Helper/FormHelper.php
@@ -374,6 +374,7 @@ public function create($model = null, array $options = [])
}
$this->setValuesSources($options['valuesSources']);
unset($options['valuesSources']);
if ($options['idPrefix'] !== null) {
$this->_idPrefix = $options['idPrefix'];
@@ -2715,7 +2716,7 @@ public function setValuesSources($sources)
* Gets a single field value from the sources available.
*
* @param string $fieldname The fieldname to fetch the value for.
* @return string Field value derived from sources.
* @return string|null Field value derived from sources.
*/
public function getSourceValue($fieldname)
{

0 comments on commit c31b83e

Please sign in to comment.
You can’t perform that action at this time.