Skip to content

Commit

Permalink
Merge pull request #227 from SiCoUK/master
Browse files Browse the repository at this point in the history
Revert unnecessary change from 29854a8
  • Loading branch information
Shardj authored Jun 6, 2022
2 parents 5d63531 + 9cdf4fa commit cb1cbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Form/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ protected function _loadFilter(array $filter)
} else {
$r = new ReflectionClass($name);
if ($r->hasMethod('__construct')) {
$instance = $r->newInstanceArgs((array) [$filter['options']]);
$instance = $r->newInstanceArgs((array) $filter['options']);
} else {
$instance = $r->newInstance();
}
Expand Down

0 comments on commit cb1cbce

Please sign in to comment.